Create and Build the CICSCommareaWS Project

Provides instructions for creating the CICSCommareaWS project in Visual Studio, adding the sample program files, and building the project.

Create the CICSCommareaWS Project

  1. In Visual Studio, click File > New > Project.
  2. In the New Project dialog box, expand Installed > COBOL.
  3. Click Enterprise Server, and then click Native.
  4. In the center pane, select Mainframe Subsystem Application.
  5. In the Project name field, type the name of the project: CICSCommareaWS.
  6. In the Location field, type c:\tutorials\IMTK.
  7. Check Place solution and project in the same directory.
  8. Click OK. The CICSCommareaWS solution and project now appear in the Solution Explorer.

Add demonstration programs to the project

  1. Right-click the CICSCommareaWS project, and select Add > Existing Item from the context menu.
  2. Browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\CommareaDemo directory.
  3. 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

  1. In the Solution Explorer, double-click Properties, which is listed under the CICSCommareaWS project.
  2. On the COBOL tab, check EXEC CICS.
  3. From the Character set drop-down list, select ASCII.
  4. Click Save All Save All to save the project and properties.
  5. 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.