Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Using 3270 Web Bridge Support (Code Debug CICS PL/I)


This section demonstrates how to run Code Debug CICS using the 3270 Web Bridge function. Some typical Code Debug screens are shown, and any minor differences associated with running Code Debug using the 3270 Web Bridge are noted.

You will use the XPED transaction in a web browser window to test the sample application transaction XCB2 and fix an abend. XCB2 is a simple employee payroll transaction that executes the COBOL program CWDEMCB2. The XCB2 transaction is used throughout this section to cause several types of abends. (Although COBOL is used in these examples, the same scenarios apply for all languages.)

This demonstration assumes your CICS region is configured to allow transactions to be run in a web browser window using the 3270 Web Bridge.

Important

The demonstrations in this section should be performed in Code Debug’s standard operating mode — not one of the three restricted modes. For more information, see the Code Debug CICS Reference Manual.

Running Code Debug CICS Using the 3270 Web Bridge

  1. In the Address field of your web browser, type the URL for your CICS region, including the port number, followed by /CICS/CWBA/DFHWBTTC/XPED and press Enter. The Code Debug CICS Primary Menu will appear as shown in the following figure. Input fields appear as text entry boxes, and buttons are provided for standard 3270 terminal keys. Button labels are based on the LABEL column values in your profile.
    Code Debug CICS Primary Menu (XPED/XPRT) Using 3270 Web Bridge

    CICSWEB_1.jpg

    Important

    If Code Debug has not yet been initialized in the CICS region, you will be prompted to click the browser Refresh before the Primary Menu appears.

    The browser progress indicator bar does not complete.

    The browser Back button may yield unpredictable results when using the 3270 Web Bridge.

  2. Click the CLEAR in the browser window. Clicking this button takes the place of pressing the Clear key. A blank CICS screen appears as shown in the following figure:
    Entering XCB2 on a Blank CICS Screen

    CICSWEB_2.jpg

  3. Type XCB2 in the blank CICS screen and click the Enter. Clicking this button takes the place of pressing the Enter key. The following figure appears.
    Demonstration Transaction Screen

    CICSWEB_3.jpg

  4. To cause an ASRA abend, type 00001 for the employee number and click the Enter.
    The CWDEMCB2 demonstration transaction program is intercepted, and the Source Listing screen (2.L) appears as shown in the following figure:
    Source Listing Screen (2.L) Showing an ASRA

    CICSWEB_4.jpg

  5. Note the value of WA_HOURS. The bad data ($$$) in this field is causing the ASRA. To change it, select the bad data, type 040, then click the ENTER.
  6. Click the GO to continue the test. The Demonstration Transaction screen appears as shown in the following figure:
    Demonstration Transaction Completed
    CICSWEB_5.jpg
  7. Remember to end the session as described in Exiting Code Debug CICS and Ending a Debugging Session.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*