SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page18(18 of 63)
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 IOBLOR IOBLOK cont.ains information required to perform I/O operations. The I/O request initiator for the I/O operation is either a CP-initiated or virtual machine-initiated eVent. There are five pointers to the IOBLOK: RCHFIOB field of the RCHBLOK, ReHFIOB field of the RCUBLOK, RDEVAIOB field of the RDEVBLOK, VDEVFIOB field of the VDEVBLOK, RDEVF10B field of the RDEVBLOK. 0 8 10 18 20 28 30 38 Hexadecimal Displacement ------------ 0 2 3 r- I 10BRADD 11* 1 11*2 10BLINK I IOBFPNT IOBBPNT 10BCYL 10BVADD IOBMISC IOBUSER IOBIRA IOBCAW 10BRCAW IOBCSW IOBIOER 1*3 1*4 I 1*5 I RSV2 Field Name 10BRADD DS 1H IOBFLAG DS 1X Bii§ Q.§iined in lOB FLAG IOBCP EQU --X'80'-- IOBRSTRT EQU X'40' IOBSPLT EQU X'20' 10BPAG EQU X' 10' TI"IDD"!:1Tr"n EQU VIAO. ..,L.v.uL\.uJ...l,"", U ,A-VU- IOBERP EQU X'04' lOB RES EQU X'02' 10BHVC EQU X C 01; IOBSTAT DS 1X B:li§ Q.§iined i!! IOBFATAL EQU X'80' IOBFLT EQU X'40' IOBPATHF EQU X'20' IOBMINI EQU X'08' IOBALTSK EQU X'04' IOBCC3 EQU X'03' IOBCC 2 EQU X'02' IOBCC1 EQU X'01' IOBCCO EQU X'OO' 1OBMISC2 10BCUBSY Field Description, Contents, Meaning Real device address for SIO 1*1 IOBLOK flags CP-generated I/O operation Restarted operation - IOBRCAW DASD - CP split seek operation IOBLOK created for paging I/O Control unit released at initiation I/O task is under control of ERP I/O task has been reset I/O initiated via DIAGNOSE instruction 1*2 IOBLOK status Unrecoverable error in this I/O operation IOBLOK queued pending completion of a MSS cylinder fault Path is fixed, use IOBRADD value This is a mini-IOBLOK DASD channel program has seek to alternate track Processing CC 3, not available Processing CC 2! channel busy Processing CC 1, CSW stored Processing I/O interrupt section 1. CP Data Areas and Control Blocks 25
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 IOBLOK Hexadecimal Displacement ------------ 4 8 C 10 12 14 18 1C 20 24 28 30 34 38 39 3A 3B 3C 12 Field Name IOBLINK DS IOBFPNT DS IOBBPNT DS 1F 1F 1F Field Description, Contents, Meaning Pointer for multipath IOBLOK chain Pointer to next IOBLOK in queue Pointer to previous IOBLOK in queue IOBMSIZE EQU (*-IOBLOK) /8 Multiple path IOBLOK size in doublewords IOBCYL DS IOBVADD DS IOBMISC DS lOB USER DS IOBIRA DS IOBCAW DS IOBRCAW DS IOBCSW DS IOBIOER DS IOBMISC2 DS IOBSPEC DS ,gefined IOBTIO EQU IOBHIO EQU IOBSIOF EQU IOBIMSTK EQU IOBUNSL EQU IOBCOPY EQU IOBSENS EQU IOBTRPND EQU IOBSPEC2 DS 1H 1H 1F 1F 1F 1F 1F 1D 1F 1F 1X in IOBSPE£ X'80' X'40' X'20' X'10' X'08' X'04' X'02' X'01' 1X Bits defined in IOBSPEC2 IOBWRAP EQU --X'80'---- IOBCLN EQU X'40' IOBUNREL EQU X'20' IOBUC EQU IOBSNSIO EQU IOBREL EQU IOBSPEC3 DS X'10' X'08' X'04' 1X Bil§ de!ined in IOBSPEC3 IOBSENSE EQU --X'80'---- IOBCUE EQU X'20' IOBVCUE EQU X'10' IOBRSV2 DS IOBCUBSY DS 1X 1F IVI"")'\ \A "' .... I DASD --seek cylinder for this IOBLOK Virtual device address Use varies according to caller Pointer to VMBLOK of user IOBLOK interrupt return address Pointer to CCW chain Pointer to restart CCW chain Real CSW for I/O operation Pointer to IOERBLOK with sense byte Use varies according to caller 1*3 IOBLOK special requests flag IOBLOK request for a TIO IOBLOK request for a HIO Virtual SIO fast release Shut down SDR function IOBLOK resulting from unsolicited interrupt I/O block associated with a COpy request Sense operation for COpy request Virtual trace pending on this I/O block 1*4 IOBLOK special requests flag second byte Input/output task for AUTOPOLL wrap list VDEVBLOK locked when CCW got control Input/output task contains release, DMKUNT must process Unit check status Normal sense operation in progress Channel program contains CP release IOBLOK special requests flag third byte Do not execute sense operation on hardware Special queue IOBLOK for SPM V=R Virtual queue IOBLOK for SPM V=R Reserved for IBM use Forward Pointer for control unit busy IOBLOKs IOBSIZE EQU (*-IOBLOK)/8 IOBLOK size in doublewords (X'08') £E IOBLOKs ORG IOBVADD IOBRCNT DS 1H Retry count 26 IBM VM/370 Data Areas and control Block Logic
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 IOBLOR IOBLOK cont.ains information required to perform I/O operations. The I/O request initiator for the I/O operation is either a CP-initiated or virtual machine-initiated eVent. There are five pointers to the IOBLOK: RCHFIOB field of the RCHBLOK, ReHFIOB field of the RCUBLOK, RDEVAIOB field of the RDEVBLOK, VDEVFIOB field of the VDEVBLOK, RDEVF10B field of the RDEVBLOK. 0 8 10 18 20 28 30 38 Hexadecimal Displacement ------------ 0 2 3 r- I 10BRADD 11* 1 11*2 10BLINK I IOBFPNT IOBBPNT 10BCYL 10BVADD IOBMISC IOBUSER IOBIRA IOBCAW 10BRCAW IOBCSW IOBIOER 1*3 1*4 I 1*5 I RSV2 Field Name 10BRADD DS 1H IOBFLAG DS 1X Bii§ Q.§iined in lOB FLAG IOBCP EQU --X'80'-- IOBRSTRT EQU X'40' IOBSPLT EQU X'20' 10BPAG EQU X' 10' TI"IDD"!:1Tr"n EQU VIAO. ..,L.v.uL\.uJ...l,"", U ,A-VU- IOBERP EQU X'04' lOB RES EQU X'02' 10BHVC EQU X C 01; IOBSTAT DS 1X B:li§ Q.§iined i!! IOBFATAL EQU X'80' IOBFLT EQU X'40' IOBPATHF EQU X'20' IOBMINI EQU X'08' IOBALTSK EQU X'04' IOBCC3 EQU X'03' IOBCC 2 EQU X'02' IOBCC1 EQU X'01' IOBCCO EQU X'OO' 1OBMISC2 10BCUBSY Field Description, Contents, Meaning Real device address for SIO 1*1 IOBLOK flags CP-generated I/O operation Restarted operation - IOBRCAW DASD - CP split seek operation IOBLOK created for paging I/O Control unit released at initiation I/O task is under control of ERP I/O task has been reset I/O initiated via DIAGNOSE instruction 1*2 IOBLOK status Unrecoverable error in this I/O operation IOBLOK queued pending completion of a MSS cylinder fault Path is fixed, use IOBRADD value This is a mini-IOBLOK DASD channel program has seek to alternate track Processing CC 3, not available Processing CC 2! channel busy Processing CC 1, CSW stored Processing I/O interrupt section 1. CP Data Areas and Control Blocks 25
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 IOBLOK Hexadecimal Displacement ------------ 4 8 C 10 12 14 18 1C 20 24 28 30 34 38 39 3A 3B 3C 12 Field Name IOBLINK DS IOBFPNT DS IOBBPNT DS 1F 1F 1F Field Description, Contents, Meaning Pointer for multipath IOBLOK chain Pointer to next IOBLOK in queue Pointer to previous IOBLOK in queue IOBMSIZE EQU (*-IOBLOK) /8 Multiple path IOBLOK size in doublewords IOBCYL DS IOBVADD DS IOBMISC DS lOB USER DS IOBIRA DS IOBCAW DS IOBRCAW DS IOBCSW DS IOBIOER DS IOBMISC2 DS IOBSPEC DS ,gefined IOBTIO EQU IOBHIO EQU IOBSIOF EQU IOBIMSTK EQU IOBUNSL EQU IOBCOPY EQU IOBSENS EQU IOBTRPND EQU IOBSPEC2 DS 1H 1H 1F 1F 1F 1F 1F 1D 1F 1F 1X in IOBSPE£ X'80' X'40' X'20' X'10' X'08' X'04' X'02' X'01' 1X Bits defined in IOBSPEC2 IOBWRAP EQU --X'80'---- IOBCLN EQU X'40' IOBUNREL EQU X'20' IOBUC EQU IOBSNSIO EQU IOBREL EQU IOBSPEC3 DS X'10' X'08' X'04' 1X Bil§ de!ined in IOBSPEC3 IOBSENSE EQU --X'80'---- IOBCUE EQU X'20' IOBVCUE EQU X'10' IOBRSV2 DS IOBCUBSY DS 1X 1F IVI"")'\ \A "' .... I DASD --seek cylinder for this IOBLOK Virtual device address Use varies according to caller Pointer to VMBLOK of user IOBLOK interrupt return address Pointer to CCW chain Pointer to restart CCW chain Real CSW for I/O operation Pointer to IOERBLOK with sense byte Use varies according to caller 1*3 IOBLOK special requests flag IOBLOK request for a TIO IOBLOK request for a HIO Virtual SIO fast release Shut down SDR function IOBLOK resulting from unsolicited interrupt I/O block associated with a COpy request Sense operation for COpy request Virtual trace pending on this I/O block 1*4 IOBLOK special requests flag second byte Input/output task for AUTOPOLL wrap list VDEVBLOK locked when CCW got control Input/output task contains release, DMKUNT must process Unit check status Normal sense operation in progress Channel program contains CP release IOBLOK special requests flag third byte Do not execute sense operation on hardware Special queue IOBLOK for SPM V=R Virtual queue IOBLOK for SPM V=R Reserved for IBM use Forward Pointer for control unit busy IOBLOKs IOBSIZE EQU (*-IOBLOK)/8 IOBLOK size in doublewords (X'08') £E IOBLOKs ORG IOBVADD IOBRCNT DS 1H Retry count 26 IBM VM/370 Data Areas and control Block Logic
SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page20(20 of 63)
Aug. 1r 1979 LOCKBLOK 1QfKBLOK: USERID LOCK CONTROL LOCKBLOK is used to synchronize execution for sections of nonreenterable code. Locked users are returned to the CPEXBLOK queue when the function being executed completes or no longer requires nonreenterable resources. LOCKBLOKs are queued off DMKSYSLB. Hexadecimal Displacement o 4 8 o 8 Field Name LOCK NEXT LOCK NEXT DS LOCKQUE DS LOCKNAME DS LOCKSIZE EQU 1F 1F 1D LOCKNAME LOCKQUE Field Description, Contents r Meaning Pointer to the next lock control block Pointer to CPEXBLOK queue The name being locked (*-LOCKBLOK)/8 LOCKBLOK size in doublewords (X'02') Section 1. CP Data Areas and Control Blocks 33
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 MCHAREA MCHAREA provides CP with statistical data that processor, to its buffers, to processor storage recovery of VM/370. relates to malfunctions for damage assessment, r- 0 , MCHDAMLN MCHPROCA 1- MCHREC , , , 8 I MCHCPEX L*1 I//////MCHRESEV//////I I 10 M*1 I M*2 I M*3 M*4 M*5 I M*6 I M*7 I M*8 I I 18 MCHLSUM 1 40 N*1 1- N*2 I N*3 f N*4 N*5 N*6 I N*7 I N*8 48 MCHFSAR MCHFSAV 50 MCHFSEAV MCHPDARI Hexadecimal Field of the and to Displacement Name Field Description, Contents, Meaning ------------ -------------------------------------- 0 MCHDAMGE DS OH Damage assessment area 0 MCHDAMLN DS 1H Length of damage assessment area 2 MCHPROCA DS XL2 Processor address 4 MCHREC DS 1F Machine check record address 8 MCHCPEX DS 1F Machine check CPEXBLOK address C MCHMODEL DS 1X L*1 Model number for the machine Bit§ defined ill MCH!llmEL MOD4341 EQU x' 18' ID number for the 4341 machine MOD4331 EQU X' 18' ID number for the 4331 machine MOD3033 EQU X t 14' ID number for the 3033 processor MOD3032 EQU X' 14' ID number for the 3032 processor MOD3031 EQU X' 14' ID number for the 3031 processor MODEL168 EQU X' 10' ID number for the 168 machine MODEL165 EQU X t 10' ID number for the 165 machine MODEL158 EQU X'OC' ID number for the 158 machine MODEL155 EQU X'OC' ID number for the 155 machine MODEL148 EQU X'08' ID number for the 148 machine MODEL 145 EQU X'08' ID number for the 145 machine MODEL 138 EQU X'04' ID number for the 138 machine MODEL135 EQU X'04' ID number for the 135 machine NOMODEL EQU X'OO' No support for machine D MCHRESEV DS 3X Reserved for IBM use 10 MCHDAMFL DS OBL8 Damage assessment data 10 MCHFLAGO DS 1X M*1 System status Bits de!i:ned ill MCHFLAGO MCHOHDWR EQU X'SQI- Hardware recovery MCHOSFTR EQU X'40' Software recovery MCHOUSAD EQU X'20' User abnormally terminated MCH1GERR EQU X' 10' Channel inoperative MCHOTERM EQU X'08' Operating system termination MCHOQUIT EQU X' 04' Quiet mode in effect 34 IBM VM/370 Data Areas and Control Block Logic real the
Aug. 1r 1979 LOCKBLOK 1QfKBLOK: USERID LOCK CONTROL LOCKBLOK is used to synchronize execution for sections of nonreenterable code. Locked users are returned to the CPEXBLOK queue when the function being executed completes or no longer requires nonreenterable resources. LOCKBLOKs are queued off DMKSYSLB. Hexadecimal Displacement o 4 8 o 8 Field Name LOCK NEXT LOCK NEXT DS LOCKQUE DS LOCKNAME DS LOCKSIZE EQU 1F 1F 1D LOCKNAME LOCKQUE Field Description, Contents r Meaning Pointer to the next lock control block Pointer to CPEXBLOK queue The name being locked (*-LOCKBLOK)/8 LOCKBLOK size in doublewords (X'02') Section 1. CP Data Areas and Control Blocks 33
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 MCHAREA MCHAREA provides CP with statistical data that processor, to its buffers, to processor storage recovery of VM/370. relates to malfunctions for damage assessment, r- 0 , MCHDAMLN MCHPROCA 1- MCHREC , , , 8 I MCHCPEX L*1 I//////MCHRESEV//////I I 10 M*1 I M*2 I M*3 M*4 M*5 I M*6 I M*7 I M*8 I I 18 MCHLSUM 1 40 N*1 1- N*2 I N*3 f N*4 N*5 N*6 I N*7 I N*8 48 MCHFSAR MCHFSAV 50 MCHFSEAV MCHPDARI Hexadecimal Field of the and to Displacement Name Field Description, Contents, Meaning ------------ -------------------------------------- 0 MCHDAMGE DS OH Damage assessment area 0 MCHDAMLN DS 1H Length of damage assessment area 2 MCHPROCA DS XL2 Processor address 4 MCHREC DS 1F Machine check record address 8 MCHCPEX DS 1F Machine check CPEXBLOK address C MCHMODEL DS 1X L*1 Model number for the machine Bit§ defined ill MCH!llmEL MOD4341 EQU x' 18' ID number for the 4341 machine MOD4331 EQU X' 18' ID number for the 4331 machine MOD3033 EQU X t 14' ID number for the 3033 processor MOD3032 EQU X' 14' ID number for the 3032 processor MOD3031 EQU X' 14' ID number for the 3031 processor MODEL168 EQU X' 10' ID number for the 168 machine MODEL165 EQU X t 10' ID number for the 165 machine MODEL158 EQU X'OC' ID number for the 158 machine MODEL155 EQU X'OC' ID number for the 155 machine MODEL148 EQU X'08' ID number for the 148 machine MODEL 145 EQU X'08' ID number for the 145 machine MODEL 138 EQU X'04' ID number for the 138 machine MODEL135 EQU X'04' ID number for the 135 machine NOMODEL EQU X'OO' No support for machine D MCHRESEV DS 3X Reserved for IBM use 10 MCHDAMFL DS OBL8 Damage assessment data 10 MCHFLAGO DS 1X M*1 System status Bits de!i:ned ill MCHFLAGO MCHOHDWR EQU X'SQI- Hardware recovery MCHOSFTR EQU X'40' Software recovery MCHOUSAD EQU X'20' User abnormally terminated MCH1GERR EQU X' 10' Channel inoperative MCHOTERM EQU X'08' Operating system termination MCHOQUIT EQU X' 04' Quiet mode in effect 34 IBM VM/370 Data Areas and Control Block Logic real the
SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page16(16 of 63)
Page of SY20-0884-3 As Updated Aug. '# '979 by TNL SN25-0491 DKPINREC Hexadecimal Field Displacement Name 80 AO A8 BO B8 DMPFPRS DS DMPTODCK DS DMPCPUTM DS DMPCKCOM DS DMPFLAG DS 4D 1D 1D 1D 1X Bits in DMPFLAG HALFPAGE EQU --X'80-'--- B9 BA BC CO 1CO 1C4 1C8 3C8 3DO 3D8 3EO 3E4 434 DMPRSV1 DS DMPPROCA DS DMPSYSRV DS DMPLCORE DS DMPPRFRG DS DMPABEND DS DMPPGMAP DS DMPCPUID DS DMPVMTYP DS DMPPSi DS DMPSYSRM DS DMPIPCS DS DMPDMPID DS lX 1H 1F 256X 1F 1F 4096B 1D 1D 1D 1F 20F CL100 Field Description, Contents, neaning Four floating-point registers (if floating-point feature is installed on machinej Time-of-day clock Processor timer Time-of-day clock comparator S*1 Flag byte When on, last record in DUMP file is 2K S*2 Reserved for IBM use Abending processor address System generated storage size Absolute storage locations 0 through 255 Prefix register Abend code for failing processor Bit map indicating which pages appear in the DUMP file (each bit represents a 4K block) Processor identification from real processor Guest virtual machine type obtained from FORMAT operand of VMDUMP command PSi of virtual machine that issued VMDUMP command Hardware size of the system on which VM/370 is run nina VM/IPCS extension program product use DUMPID operand of the VMDUMP command section 1. CP Data Areas and Control Blocks 20.1
Aug. 1. i979 20.2 IBM VM/3 7 0 Data Areas and Control Block Logic