Because the service generated from this CICS Commarea IMTK tutorial runs on an enterprise server not associated with the other
tutorials, it needs its own project (enterprise servers are associated with a project rather than any specific service interface).
In the project, we must add the application files needed to define the service interface and then access the deployed service,
and we must build the application so that we can run it on an enterprise server.
- From the
IMTKTutorials Solution in the Solution Explorer, right-click the solution name; then click
Add >
New Project.
- In the
Create a new project dialog box, select
COBOL from the
Language drop-down list.
- In the
Name field, type
CICSCommareaWS.
Note: Because you are creating the project from with the IMTKTutorials solution, the default settings for
Project types,
Templates, and
Location are correct.
- Click
OK. The
CICSCommareaWS project now appears in the Solution Explorer.
- Right-click the
CICSCommareaWS project, and click
Add >
Existing Item.
- Browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\CommareaDemo folder.
- From the drop-down list, be sure that
COBOL files (*.cbl, .cpy, cob) appears in the filter field.
- Select the
INCCA.cbl,
INCOM.cpy and
SECCA.cbl files; then click
Add.
Note: If prompted to preview changes for directive determination, click
Apply.
- Double-click
Properties, listed under the
CICSCommareaWS project.
- On the
COBOL tab, use the drop-down list to change the
Character set to
ASCII; then check
EXEC CICS.
- To save this project, select the
CICSCommareaWS project in the Solution Explorer; then click
File >
Save CICSCommareaWS.
- To build the project, right-click the
CICSCommareaWS project, and select
Build from the context menu. The
Output window shows the progress of the build.