Previous Topic Next topic Print topic


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 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.
  3. Click OK. The CICSCommareaWS project now appears in the Solution Explorer.
  4. Right-click the CICSCommareaWS project, and click Add > Existing Item.
  5. Browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\CommareaDemo folder.
  6. From the drop-down list, be sure that COBOL files (*.cbl, .cpy, cob) appears in the filter field.
  7. Select the INCCA.cbl, INCOM.cpy and SECCA.cbl files; then click Add.
  8. Double-click Properties, listed under the CICSCommareaWS project.
  9. On the COBOL tab, use the drop-down list to change the Character set to ASCII; then check EXEC CICS.
  10. To save this project, select the CICSCommareaWS project in the Solution Explorer; then click File > Save CICSCommareaWS.
  11. 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.
Previous Topic Next topic Print topic