SVCTRACE 3. When tracing on a virtual machine with only one printer, the trace
data is intermixed with other data sent to the virtual printer.
A variety of information is printed whenever the: SVCTRACE ON command is issued.
The first line of trace output starts with a dash or plus sign or an
asterisk (-or + or *l. The format of the first line of trace output
is:
N/D = xxx/dd name loc OLDPSW = psw1 GOPSW = psw2 [RC=rc]
indicates information recorded before processing the SVC. + indicates information recorded after processing the SVC, unless
the asterisk (*) applies.
* indicates information recorded after processing a eMS SVC that
had an error return.
N/D
xxx
dd
name
loc
pswl
psw2
rc
is an abbreviation for SVC number and depth (or level).
is the number of the SVC call (they are numbered sequentially) is the nesting level of the SVC call.
is the macro or routine being called.
is the program location from which the SVC was issued.
is the PSW at the time the SVC was called.
is the PSW with which the routine being called is invoked, if
the first character of this line is a dash (-) If the first
character of this line is a plus sign or asterisk (+ or *), PSW2 represents the PSW that returns control to the user.
is the return code from the SVC handling routine in general
register 15. This field is omitted if the first character of
this line is a dash (-), or if this is an JS SVC call. For a CMS SVC, this field is 0 if the line begins with a plus sign
(+), and nonzero for an asterisk (*). Also, this field equals
the contents of R15 in the "GPRS AFTER" line.
The next two lines of output are the
registers when control is passea to the SVC output is identified at the left by ".GPRSB". is:
contents of the general
handling routine. This
The format of the output .GPRSB = h h h h h h h h *daaadddd* h h h h h h h h *daaddddd* 1BO VM/370 CMS Command and Macro Reference
SVCTRACE where h represents the contents of a general register in hexadecimal
format and g represents the EBCDIC translation of the contents of a
general register. The contents of general registers 0 through 7 are
printed on the first line, with the contents of registers 8 through F on
the second line. hexadecimal contents of the registers are printed
first, followed by the EBCDIC translation. The EBCDIC translation is
preceded and followed by an asterisk(*).
The next line of output is the contents of general registers 0, 1,
and 15 when control is returned to your program. The output is
identified at the left by ".GPRS AFTER :". The format of the output is: .GPRS AFTER: RO-Rl = h h *dd* R15 = h *d*
where h represents the hexadecimal contents of a general register and g is the EBCDIC translation of the contents of a general register. The
only general registers that CMS routines alter are registers 0, 1, and
15 so only those registers are printed when control returns to your
program. The EBCDIC translation is preceded and followed by an asterisk
(*) • The next two lines of output are the contents of the general registers when the SVC handling routine is finished processing. This
output is identified at the left by ".GPRSS." The format of the output
is: .GPRSS h h h h h h h h *dddddddd*
h h h h h h h h *dddddddd* where h represents the hexadecimal contents of a general register and g­ represents the EBCDIC translation of the contents of a general register.
General registers 0 through 7 are printed on the first line with
registers 8 through F on the second line. The EBCDIC translation is
preceded and followed by an asterisk (*). The next line of output is the contents of the
floating-point registers. The output is identified ".FPRS". The format of the output is: .FPRS = f f f f *gggg*
calling routine's
at the left by
where represents the hexadecimal contents of a floating-point register
and g is the EBCDIC translation of a floating-point register. Each
floating point register is a doubleword; each f and g represents a
doubleword of data. The EBCDIC translation is preceded and followed by
an asterisk (*).
The next line of output is the contents of floating-point registers
when the SVC handling routine is finished processing. The output-is
identified by ".FPRSS" at the left. The format of the output is: .FPRSS = f f f f *gggg*
where represents the hexadecimal contents of a floating-point register
and g is the EBCDIC translation. Each floating-point register is a
doubleword and each f and g represents a doubleword of data. The EBCDIC
translation is preceded and followed by an asterisk (*). The last two lines of output are printed only if the address in
register 1 is a valid address for the virtual machine. If printed, the
output is the parameter list passed to the SVC. The output is
identified by ".PARM" at the left. The output format is: .PARM h h h h h h h h *dddddddd*
h h h h h h h h *dddddddd* Section 2. CMS Commands 181
Previous Page Next Page