Previous Topic: Demo Session ObjectivesNext Topic: Select the Source Program from the ITST Menus


Demo Session Scenario

This demo session takes you step‑by‑step through the following test session scenario:

  1. Use the ITST menus to select and view the ASMDEMO source listing, the sample Assembler program to be executed.
  2. Set monitoring for the sample program ASMDEMO and view the status display of your monitoring request.
  3. 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.

  4. 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.
  5. Dynamically correct the error by moving a packed decimal zero into TASKNUM.
  6. Set a breakpoint to halt ASMDEMO at another instruction. This step is purely instructional and has nothing to do with correcting the ASRA.
  7. 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.
  8. 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: