Prepare to Debug the CICS Application

Guides you through the process of associating the STAFF enterprise server instance with the CICS project, and building the application for debugging.

Set debug options

  1. In the Solution Explorer, right-click the CICS project, and then select Properties from the context menu.
  2. Click the Debug tab.
  3. Ensure Launch is set to CICS.
  4. Type TTEA in the Transaction field.
  5. Click File > Save All.

Associate STAFF with the CICS project

  1. In the Server Explorer, right-click Micro Focus Servers, and then select Refresh from the context menu.
  2. Right-click the STAFF server and click Associate With Project > CICS.

Start the STAFF server

  • In the Server Explorer, right-click the STAFF server, and select Start from the context menu.

    The Output window shows the progress as the server starts.

    Attention: You might encounter an Enterprise Server Sign On dialog box as you perform the steps required to create, configure, start, or stop an enterprise server instance from the Server Explorer. If you do, ensure that the Server requires credentials, Use specific server credentials, or Server is secured box is unchecked, and then click OK. Also, if prompted to disable password recovery, click No.

Set breakpoints

  1. In the Solution Explorer, expand the CICS project.
  2. Click the STAFF02.pli program to open it in the program editor.
  3. At the EXEC CICS RECEIVE statement located on line 276 (see the Ln: field at the bottom of the program editor), place your cursor in the left-most column and click once to set the breakpoint.
  4. At the EXEC CICS WRITEQ statement located on line 345, set another breakpoint.
  5. At the EXEC CICS XCTL statement located on line 362, set one last breakpoint.