Tutorial: CICS Screen Web Service

Guides you through the process of using the Interface Mapping Toolkit (IMTK) to create and configure all of the components required to define and run a CICS SOAP Web service derived from the BMS map component of a CICS COBOL application.

Prerequisites

Ensure you have completed general setup requirements
Review the Assumptions and Before you begin these tutorials sections in the Tutorials: Interface Mapping Toolkit (IMTK) - Mainframe topic to ensure that your environment is set up properly.
Set Host Access for the Cloud TN3270 options
  1. In Visual Studio, click Tools > Options; then expand Micro Focus Tools and click TN3270 Display.
  2. In the right frame, ensure that Host Access for the Cloud is selected, and then click OK.
  3. Close the Options page.
Start the HACloud Session Server

To start the HACloud session server on Windows:

  1. Ensure you have a 64-bit Java installed and added to the PATH environment variable.
  2. Open the Windows Services Manager.
  3. Click Micro Focus HA Cloud, and click Start the service.
  4. Alternatively, you can execute the following command from a command prompt to start the service:
    net start mfhacloud

Demonstration application - ACCT

The ACCT demonstration application is the standard example application that IBM supplies with CICS systems. It includes the following source code files, supplied with Enterprise Developer:

ACCT00.cbl
The program associated with the ACCT transaction. It displays a menu screen for the on-line account file application, which prompts the user for input. Transaction AC01 is invoked when that input is received.
ACCT01.cbl
The program associated with the AC01 transaction. Analyzes all requests, and completes those for name inquiries and record displays. For update transactions, it sends the appropriate data entry screen and sets the next transaction identifier to AC02, which completes the update operation. For print requests, it starts transaction AC03 to do the actual printing.
ACCT02.cbl
The program associated with the AC02 transaction. It completes requests for account file updates (adds, modifies, and deletes), after the user entered the update information.
ACCT03.cbl
The program associated with the AC03 transaction. It completes a request for printing of a customer record, which was processed initially by transaction AC01.
ACCT04.cbl
The program associated with the AC04 transaction. It is a general purpose error routine that is invoked by other programs in the online account file application when an unrecoverable error has occurred. It sends a message to the input terminal describing the type of error and prompts the operator to report it. It then exits, backing out any updates made in the uncompleted transaction.
acctset.bms
The BMS mapset used by the ACCT application.
ACCTREC.cpy
The record definition for the ACCTFIL VSAM file used by the application.

Sequence

To complete this tutorial, progress through these topics in the order presented here. The bottom of each topic provides Next topic and Previous topic navigational links to help you proceed in the proper sequence: