SY20-0886-1_VM370_Rel_6_Vol_1_Mar79.pdf
Page36(36 of 455)
"'ltI I ..... I\.) \Q I\.) ,::;: H (I) H txt \D IX c:a IX !::tJ INPUT FOR PUNCH/PRINTER " (I) W I» RDEVBLOK ..... 0 en en to a..cs 0 en 0 r+ (I) ..... • ::s !"Q t-4 0 \Q ..... 0 I» SFBUSER t:S SFBCLAS Pol SFBCOPY 1'0 H 0 D" «D II t=' INPUT FOR READER «D 10BLOK r+ «D H • ..... t:S I» CJ r+ ..... 0 t:S I I c:a 0 d • «D • Interrupt From Spool Device 1----- PROCESS ------- ...... Find nonbusy unit record device Find SFBLOK for that device type Create RSPLCTL block and chain it to RDEVBLOK Remove SFBLOK from chain and chain it to RSPLCTL Get virtual buffer and read DASD page Reconstruct CCWs in data page Create 10BLOK and chain CCWs to 10BLOK Schedule I/O operation When there is an interrupt from the unit-record device, get next DASD page from chain ,-------- OUTPUT FOR PUNCH/PRINTER -------. RDEVBLm RDEVSTAT RDEVTYC RDEVSPL SPUNK CCWs Data Data TIC ( TIC OR CJ FOR Real Stot-age DASD Auxiliary Storage SPOOL BtFFER
told .. " \,Q ,:: H (1) INPUT - 0 TRACE XXX Cl VMBLOK .... H r+ ,:: pt VMTRCTL .. VMTREXT "3 H pt n .... =' \,Q Entered From OMKCFM After 'TRACE' Command Entered _O_M __ K_TR_A ______ PROCESS __________________ Pick up operands and options and check for validity If 'OFF' specified, turn off flags .......... .. If 'END' specified, call DMKTRCPBto restore any instructions altered by TRACE, turn off flags, and' return TREXT block to free storage ........ . Otherwise, Issue 'TRACE STARTED' message Get trace control block and set VMBLOK pointer to it, if a trace control block does •••• ' • not exist. Set trace flags. Call DMKTRCIT to initialize branch or full in!,truction tracing, if Entry via SVC 8 8 ----------PROCESS -------------......, Put trace prefix and type in output line Convert binary addresses to hexadecimal (DMKCVT) Get mnemonic for OP code, if applicable (DMKNEM) Write trace line to output device If ATTN was pressed or if halt after trace line.w.a.s.sp.e.ci.fie.d ........ enter console function mode and ex it Entered from OM KC FM after • AOSTOP' command entered OMKCFOAO Otherwise, , Get work buffer Set VMBLOK pointer Save instruction and its virtual add.reiis.s ..... Replace instruction with SVC B3 • OUTPUT---------------,---, VMBLOK OUTIPUT Virtual Storage [ TREXT TFIEXCTLli TFIEXCTL2 TREXTERM TFlEXPRNT TREXRUNF COMMENTS If this turns off the last flag, then the TREXT block is returned to free storage. If branch and instruction tracing are both turned off, ClMKTRCPB is called to put back any instructions altered by TRACE, VMTRCTL and TREXCTL 1 are identical. e Entry via SVC 8 as follows Entry Point From External Interrupt DMKTRCEX DMKDSP 11/0 Interrupt DMKTRCIO DMKDSP Program Interrupt DMKTFlCPG DMKPRG Privileged Instructions DMKTRCPV DMKPRV 'I/O Operatiol')s DMKTRDSI DMKVIOEX Virtual and Real CSWs DMKTRCSW DMKVIOIN SVC, branch or full DMKTRCSV DMKPSA instruction trace Restore user instructions DMKTRCPB DMKTRA altered by tracing Initialize instruction tracing DMKTIlCIT DMKTRA