VM370 Rel 6 Data Areas and Control Block Logic (Mar79)
Page241(241 of 342)
PUEltB PUBIDR defines the fields of a physical unit block table as used by CMS and/or DOS routines. Both DSECTs define the same storage. I • For Use by CMS Routines (MIPPUB macro) The simulated PUBADR DSECT has eighteen 8-byte entries, one for each device sUPForted by CMS. The simulated PUBADR DSECT is invoked by the MIPPUB macro. o PUBCUU 1//////1 A*1 I A*2 I A*3 I A*4 I A*5 Hexadecimal Field Displacement Name Field Description, Contents, Meaning ------------ -------------------------------------- 0 PUBCUU DS IL2 Channel and device number 2 DS I Reserved for IBM use 3 PUBDSKM DS I A*1 Disk mode if assigned DASD 4 PUBDEVT DS I A*2 Device type code 5 PUBTAPM1 DS I A*3 CMS tape set mode attributes 6 PUBTAPM2 DS I 1*4 DOS tape set mode attributes 7 PUBTAP7 DS I 1*5 7-track indicator I • For Use by DOS/VS Routines (PUBTAE macro) The PUBADR DSECT is invoked by the PUETIE macro. displacement 1'40' of BGCOM. The address of PUBTIE is at o PUBCH!NN !/!*1//! !*2 !*3 !*4 !*5 !*6 1*7 Hexadecimal Field Displacement Name Field Description, Contents, Meaning ------------ -------------------------------------- 0 PUBCHANN DS IL2 Channel and device number 2 PUBCHQPT DS X A*1 Reserved for IBM use 3 PUBERR DS X A*2 Error retry counter or TEB point 4 PUBDEVTY DS X A*3 Device type code 5 PUBOPTN DS X A*4 Set lIode command or other options 6 PUBCSFLG DS I A*5 Channel scheduler flags 7 PUBJCFLG DS I A*6 Job control flags 8 NEITPUB DS X A*7 First byte of next PUB entry PUB WIT EQU *-PUBADR Length of PUB table PUBPTR EQU NEXTPUB Pointer to original PUB Section 2. CMS tata Areas and Control Blocks 229
PUBOWNER PUBOWNER contains a 2-byte entry for each entry in the FUB table. For there are eighteen 2-tyte entries. The address of the PUEOWNER table is in the block in the DOSCON CSECT of NUCON. o 20 Hexadecimal Field Displacement Na.e o o PUBOWNER DS DC PUBOWNER OH 18X'0001' Field Description, Contents, Meaning PUB ownership table PUB owner PUBOWNER entries have the following meanings: 1 Value X'OO' X'40' X' 0 l' The physical unit is reserved CMS is vaiting for the volume to be .ounted . Backgrotind partition owns the physical unit 230 IBM VM/370 Data Areas and Control Block Logic