Using the 3270 Web Bridge Support
Related Topics
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.
Running Code Debug CICS Using the 3270 Web Bridge
- 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 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
2. Click CLEAR in the browser window. Clicking this button takes the place of pressing the Clear key. A blank CICS screen appears as shown in following figure.
Entering XCB2 on a Blank CICS Screen
3. Type XCB2 in the blank CICS screen and click Enter. Clicking this button takes the place of pressing the Enter key. The Demonstration Transaction screen appears (following figure).
Demonstration Transaction Screen
4. To cause an ASRA abend, type 00001 for the employee number and click Enter.
The CWDEMCB2 demonstration transaction program is intercepted, and the Source Listing screen (2.L) appears as shown in following figure.
Source Listing Screen (2.L) Showing an ASRA
5. Note the value of dHoursWorked. The bad data ($$) in this field is causing the ASRA. To change it, select the bad data, type 040, then click ENTER.
6. Click GO to continue the test. The Demonstration Transaction screen appears as shown in following figure.
Demonstration Transaction Completed
7. Remember to end the session as described in Exiting Code Debug CICS and Ending a Debugging Session.