Provides instructions for creating the CICSCommareaWS project in Visual Studio, adding the sample program files, and building
the project.
Create the CICSCommareaWS Project
- Open a Visual Studio command prompt and enter:
devenv
This starts Visual Studio. If you are prompted to select an initial action, click
Continue without code.
- In Visual Studio, click
.
- In the
Create a new project dialog box, select
COBOL from the
Language drop-down list.
- Select
Enterprise Server from the
Project type drop-down list.
- In the center pane, select
Mainframe Subsystem Application.
- Click
Next.
- In the
Project name field, type the name of the project:
CICSCommareaWS.
- In the
Location field, type
c:\tutorials\IMTK.
- Check
Place solution and project in the same directory.
- Click
OK. The
CICSCommareaWS solution and project now appear in the
Solution Explorer.
Add demonstration programs to the project
- Right-click the
CICSCommareaWS project, and select
Add > Existing Item from the context menu.
- Browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\CommareaDemo directory.
- Select the
INCCA.cbl,
INCOM.cpy and
SECCA.cbl files, and then click
Add.
Note: If prompted to preview changes for directive determination, click
Apply.
Set CICSCommareaWS project properties
- In the
Solution Explorer, double-click
Properties, which is listed under the
CICSCommareaWS project.
- On the
COBOL tab, check
EXEC CICS.
- From the
Character set drop-down list, select
ASCII.
- Click
Save All
to save the project and properties.
- Close the
CICSCommareaWS properties tab.
Build the CICSCommareaWS project
- Right-click the
CICSCommareaWS project, and select
Build from the context menu. The
Output window shows the progress of the build.