Create and Populate the CICSScreenWS Project

Provides instructions for creating the CICSScreenWS project in Visual Studio, and adding the ACCT application files required to create a CICS screen service interface.

Create the CICSScreenWS project

  1. In Visual Studio, click File > New > Project.
  2. In the Create a new project dialog box, select COBOL from the Language drop-down list.
  3. Select Enterprise Server from the Project type drop-down list.
  4. In the two remaining drop-down lists, select Windows and Enterprise Server respectively.
  5. In the center pane, select Mainframe Subsystem Application, and then click Next.
  6. In the Project name field, type the name of the project: CICSScreenWS.
  7. Specify your working directory, c:\tutorials\IMTK, in the Location field.
  8. Check Place solution and project in the same directory.
  9. Click Create.

    In Enterprise Developer, this creates a solution named CICSScreenWS that contains one project, also named CICSScreenWS.

    On disk, this creates a CICSScreenWS subdirectory to your working directory. The CICSScreenWS subdirectory contains the Visual Studio solution and project files.

    Note: New COBOL projects in Visual Studio target the 64-bit OS.

Add the ACCT BMS file to the project

  1. Right-click the CICSScreenWS project, and click Add > Existing Item.
  2. Browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Interface Mapping Toolkit\Classic\ServiceInterfaces\ACCTDemo folder.
  3. From the drop-down list, select BMS files (*.bms) to show just BMS files; then select the acctset.bms file.
  4. Click Add.
  5. To save this project, click File > Save CICSScreenWS.

Associate CICSEXT with the project

  1. In the Server Explorer, expand Micro Focus Servers > Default to see a list of available enterprise servers.
  2. Right-click the CICSEXT enterprise server, and then click Associate With Project > CICSScreenWS.
    Note: If CICSEXT does not appear on the list of enterprise servers, right-click Micro Focus Servers; then select Refresh from the context menu.