Create and Build a Visual Studio Project

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.

  1. From the IMTKTutorials Solution in the Solution Explorer, right-click the solution name; then click Add > New Project.
  2. In the Create a new project dialog box, select COBOL from the Language drop-down list.
  3. 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.
  4. Click OK. The CICSCommareaWS project now appears in the Solution Explorer.
  5. Right-click the CICSCommareaWS project, and click Add > Existing Item.
  6. Browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\CommareaDemo folder.
  7. From the drop-down list, be sure that COBOL files (*.cbl, .cpy, cob) appears in the filter field.
  8. Select the INCCA.cbl, INCOM.cpy and SECCA.cbl files; then click Add.
    Note: If prompted to preview changes for directive determination, click Apply.
  9. Double-click Properties, listed under the CICSCommareaWS project.
  10. On the COBOL tab, use the drop-down list to change the Character set to ASCII; then check EXEC CICS.
  11. To save this project, select the CICSCommareaWS project in the Solution Explorer; then click File > Save CICSCommareaWS.
  12. 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.