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. 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.
  2. In Visual Studio, click File > New > Project.
  3. In the Create a new project dialog box, select COBOL from the Language drop-down list.
  4. Select Enterprise Server from the Project type drop-down list.
  5. In the center pane, select Mainframe Subsystem Application.
  6. Click Next.
  7. In the Project name field, type the name of the project: CICSCommareaWS.
  8. In the Location field, type c:\tutorials\IMTK.
  9. Check Place solution and project in the same directory.
  10. 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.