Input From CMS Notes Module
1 Ask if the user needs help. If yes, show DMMDSC 'HELP' pages. Prompt for the dump
file number and mode. Check that the
dump exists. If not, issue message:
ERROR IN FSSTATE 2 Read subcommands from the terminal. DMMDSC Truncate the input to 8·byte words I and place in parameter list. If end of
session ('HX', 'QUIT', or 'END'),
return to CMS. 3 Scan the parameter list and check DMMDSC subcommand for validity. Pass control to the appropriate subroutine. Convert 'hexloc' to hexadecimal DMMFEX
and call DMMGET to fetch the
dump data into storage. Check for
indirect request [%) . Call DMMDIR to format and display
the data. Translate the address of 'hexloc' and DMMFED
the byte count nnnn to hexa· decimal.
Fetch the data into storage, from at
the data, convert to EBCDIC, add
addresses, and write the data to the
terminal. Increase (decrease if 'U') the iast DMW,SCR displayed address by X'130', checking for an end of page condi· tion. Fetch that data into storage. I nvoke the format and display
routine (DMMDIR). Processing
Determine which dump is to be
examined.
2 Read subcommands. If end of session, return to CMS. 3 Check input for validity and call
su brouti nes. D
·
I hexloc% t ISP ay l hexloc I Display the dump data around
the address 'hexloc' . Display hexloc nnnn
Display nnnn bytes of dump
data starting at 'hexloc' . Scroll [U) ScrollU Display dump data adjacent
to the previous display.
Label Ref Notes
GETDUMP
ENTER STATERR READY TOKEN I INCHECK PLlSTSCN TRANADD NOROUND INDIR DIRECT DMMFED
TRANADD CTHAN DIRECT SCRNFULL DMMSCR DIRECTIT Output Step 2 I DMMDSC7191 DMMLOC7161 DMMDSC7201 U D Module Label I Ref I I Diagra. 2-1. DU!PSCAN IPCS Com.and (Part 1 of 3)
Chapter 2. IPCS--The Interactive Proble. Centrol syste. 21
Input Notes Module
3 Continued Find the trace table from 'traccurr' DMMTRC in the PSA. Convert the count to
a byte count. Submit it to
DMMFED as display 'hexloc' nnnn. Fetch the page containing the DMMLOC 'fromaddr' into storage. Compare the string against the data at
'fromaddr'. If not equal, increase
the data pointer by the 'increment'
parameter and compare again.
Continue until either the comparison
is equal then display the area
containing the equal compare or until the 'toaddr' is reached then
issue message: STRING 'string' NOT FOUND Read the load map from the end DMMMOD of the dump and scan it for this label. Submit the address of the label to DMMFEX to display. Separate the channel block, control DMMIOB unit block, and device block for the
given real or virtual device address. Display the blocks. DMMFED Get the system VMBLOK pointer DMMVMB from the PSA. 'Follow the pointer
to the chain of VMBLOKs. Print a list of the active VMBLOKs with the userid and selected status
bytes.
Processing
3 Continued Trace [12... ]
nnn Display the lastest nnn entries
in the trace table. Locate string fromaddr
toaddr [increment]
Find the string in the dump
and display it. DMKmmee
Use the load map to find the module in the dump and display the code. Rioblok cuu Vioblok cuu Display the channel, control unit and device block. Vmblok Display a list of logged on
users and their status. REGS C G Display the registers and, optionally, the clocks, timers, PSWs, CSW, and CAW. Label Ref Notes Output Step 2 Check for AP or UP dump. Select DMMTRC the appropriate set of registers
and if the subcommand is not 'C' or 'G', also display the PSW and
clocks. DMMLOC EXECUTOR GOGOFEX MOREMSG DMMMOD MAPRED DMMIOB COMPRCUB UIO DMMFED DMMVMB BALGET MOVEL tiagram 2-1. DUMPSCAN IPCS Command (Part 2 of 3)
22 IBM VM/370 Service Routines Program Logic
Module Label Ref
DMMREG DMMREG
Previous Page Next Page