Chapter 26. Scenario 1: Invalid VSAM data generating an abend 473
You need the following copybooks that contain the record structure of the VSAM files
DEMOS.PDPAK.CUSTFILE and DEMOS.PDPAK.COMPFILE:
Copybooks CUSTFILE and COMPFILE in DEMOS.PDPAK.COPYLIB
Make sure you run the DEFVSAM1 batch job to load the VSAM files.
26.2 Tracking an abend in the application
To demonstrate the capabilities of the Problem Determination Tools, we force the application
to abend and then step through the process of fixing it. Debug Tool is used to follow the
execution of the application. Fault Analyzer is used to identify the cause of the abend. File
Manager is used to correct the error in a VSAM application file.
Access the Trader application by selecting MYTD transaction —> Userid=TSDEMO,
password=itso —> 4 = IBM —> 1 = New Real-time quote.
In this example, you attempt to obtain the real-time quotes of IBM for the customer, TSDEMO.
After you select option 1 on the Options menu of the CICS Trader application and press Enter,
the application abends. The CICS-issued transaction abend message is shown in
Figure 26-1 Options