IBM System 360 User Manual page 82

Operating system: time sharing option terminal
Hide thumbs Also See for System 360:
Table of Contents

Advertisement

Enter the LISTPSW subcommand to determine the address of the instruction
that failed in your program.
The last five characters of the PSW that
is listed can then be entered with
th~
WHERE subcommand and the system
will then provide the location and the program name in which the ABEND
occurred.
When LIST is entered in the preceeding manner, the thirty-two
bytes of instructions prior to the ABEND will be displayed.
At this time all the registers may be listed in the following manner to
aid you in solving the problem:
list OR:15R
If you wish to trace the execution of your program you may enter the
following:
Example 2:
at +0:+200 (go)
at +32
at +8c
at +10a
go +0
In this case breakpoints will be set at every instruction in your
program between relative addresses 0 and 200 (inclusive) " stopping at
the first invalid opcode encountered.
Breakpoints set at relative
addresses 32, 8C, and lOA supplement the previous settings.
The last GO
causes the program to resume execution from the beginning (assuming the
first address contains a valid instruction) '.
Before execution of the
instruction at any of the breakpoint location a message is printed at
the terminal.
If the location is other than 32, 8C, or lOA, execution
continues because of the GO subcommand in the subcommand list of the
first AT.
(other subcommands could also be executed automatically here
prior to GO; see the AT subcommand description under TEST in the Command
Language Reference manual,.)
Before 32, .. 8C, or lOA are executed, the
associated AT subcommand causes control to return to the terminal so
that you can enter any TEST subcommands before continuing execution.
Example 3:
To supply new values for a range of registers,. you can enter:
Or= (x • 0 • " x • 0 • , x • 0 • )
The values specified would be assigned starting with register 0.,
register 1, etc.
until all values in the list have been assigned.
Example 4:
If you want to display storage at a known relative address you may
enter:
list +34
+34 47FOC220
If you want not only to display storage" but also to find out the
absolute address associated with the relative address, you can enter:
list +34+0
A0680.
47FOC220
If you prefer, you can elect not to test your program.
Simply enter
any command you wish after receiving the abnormal termination and READY
messages,.
80
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents