

Basic Demo Session › Demo Session Scenario
Demo Session Scenario
This demo session takes you step‑by‑step through the following test session scenario:
- Use the ITST menus to select and view the ASMDEMO source listing, the sample Assembler program to be executed.
- Set monitoring for the sample program ASMDEMO and view the status display of your monitoring request.
- Exit the ITST menus and initiate ASMDEMO.
An ASRA abend in ASMDEMO is intercepted and prevented. Program execution is halted at an Add Packed (AP) instruction, and a diagnostic message informing you that the problem was caused by improperly formatted data appears.
- Display the current value of TASKNUM, the receiving field in the AP instruction which you suspect may be the cause of the problem. You find that TASKNUM does not contain a valid packed decimal number.
- Dynamically correct the error by moving a packed decimal zero into TASKNUM.
- Set a breakpoint to halt ASMDEMO at another instruction. This step is purely instructional and has nothing to do with correcting the ASRA.
- Resume program execution. The program is halted at the breakpoint set in Step 7. You can see that when the AP instruction executed, the value of TASKNUM changed.
- Clean up by removing the breakpoint set. Then resume program execution and ASMDEMO runs to completion.
Note: Before you begin testing, you should be aware that when the application searches the symbolic files for the Assembler program specified for testing, it displays a program selection screen list if more than one version of the Assembler program is found on the symbolic files. If the program selection screen appears you can:
- Select the appropriate symbolic file
- Ignore symbolic processing for the program
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|