$SDB mapping

Table 1. Structure SDB
Offset
Dec
Offset
Hex
Type Len Name(Dim) Description
0 (0) STRUCTURE 0 SDB  
0 (0) BITSTRING 176  SDBSAVE Save area
176 (B0) CHARACTER 4  SDBID SDB IDENTIFIER
180 (B4) SIGNED 2  SDBLENG SDB LENGTH
182 (B6) SIGNED 2  SDBSTMT# Next STMT number for JESJCL put at conversion time
184 (B8) SIGNED 4  SDBR14SV HPMOVE R14 save area
188 (BC) BITSTRING 1  SDBFLG1 FLAG BYTE 1
      1... ....  SDB1GET "B'10000000'" GET ALLOWED
      .1.. ....  SDB1ENQ "B'01000000'" Exit 9 ENQ obtained
      ..1. ....  SDB1PUT "B'00100000'" PUT ALLOWED
      ...1 ....  SDB1HPUT "B'00010000'" At least one put done (data set is not null)
      .... 1...  SDB1OUT "B'00001000'" CARRIAGE CONTROL ALLOWED
      .... .1..  SDB1CLOS "B'00000100'" Do not get chaining track, data set is closing
      .... ..1.  SDB1ENDR "B'00000010'" Do not get chaining track, ENDREQ request
      .... ...1  SDB1FOPN "B'00000001'" INIT DATA SET - FAKE-OPENED
189 (BD) BITSTRING 1  SDBFLG2 FLAG BYTE 2
      1... ....  SDB2IOE "B'10000000'" Permanent I/O error
      .1.. ....  SDB2VAL "B'01000000'" Validation error
      ..1. ....  SDB2VDK "B'00100000'" Data set key mismatch
      ...1 ....  SDB2EOD "B'00010000'" End of data set
      .... 1...  SDB2GLM "B'00001000'" Locate mode gets allowed
      .... .1..  SDB2DSRS "B'00000100'" Data set restart- EOD or IOE
      .... ..1.  SDB2XBIN "B'00000010'" This is batch input unit
      .... ...1  SDB2INDX "B'00000001'" Data set to be/is indexed
190 (BE) BITSTRING 1  SDBFLGM Miscellaneous flag byte
      1... ....  SDBMJML "B'10000000'" JESMSGLG dataset
      .1.. ....  SDBMJSM "B'01000000'" JESYSMSG dataset
190 (BE) X'C0' 0  SDBMSJDS "SDBMJML+SDBMJSM" Special JES2 data sets
      ..1. ....  SDBMRSKP "B'00100000'" Records skipped due to I/O error on GET
      ...1 ....  SDBEVSKP "B'00010000'" EVENTLOG records being skipped during GET due to view filtering
      .... 1...  SDBMSPEC "B'00001000'" Data set requires special processing at conversion I/O time
      .... .1..  SDBOUTPU "B'00000100'" Last statement processed was OUTPUT
      .... ..1.  SDBNOTIF "B'00000010'" Last statement processed was NOTFIY
      .... ...1  SDBMCNCT "B'00000001'" Dataset in concatenation
         SDBFLAGY flag byte is used to control instream
         symbol substitution.
         See PDBFLAGY for description.
191 (BF) BITSTRING 1  SDBFLAGY Symbol substitution flags for DD * and DD DATA:
192 (C0) CHARACTER 8  SDBDDNM DDNAME OF DATA SET
200 (C8) SIGNED 4  SDBOPNCT DATA SET OPEN COUNT
         SDBTCBM is always job step TCB. When the job step
         TCB ends, the SDB is removed. SDBTCBO is the TCB
         that owns the memory for the SDB. That is normally
         the Region Control task.
204 (CC) ADDRESS 4  SDBTCBM TCB managing SDB memory
208 (D0) ADDRESS 4  SDBTCBO TCB owning the SDB memory
212 (D4) ADDRESS 4  SDBHCCT POINTER TO HASP HCCT
216 (D8) ADDRESS 4  SDBSJB POINTER TO SJB
220 (DC) ADDRESS 4  SDBSDB POINTER TO NEXT SDB OFF SJB
224 (E0) ADDRESS 4  SDBJFCBE POINTER TO JFCB EXTENSION
228 (E4) ADDRESS 4  SDBPIOT POINTER TO PDDB IOT
232 (E8) ADDRESS 4  SDBPDDB POINTER TO PDDB
236 (EC) SIGNED 4  SDBPDDBA ALET of PDDB
         Related data area. SDBCBADR is a related CB
         CB address and SDBCBALE is the ALET for the related
         CB. The data area is based on bits in SDBFLG4 or
         SDBFLG6.
240 (F0) SIGNED 4  SDBCBALE ALET for related CB
244 (F4) ADDRESS 4  SDBCBADR Address of related CB
         If SDB6SAPI then related CB is a SAPID
244 (F4) X'F0' 0  SDBSAPAL "SDBCBALE,4,C'F'" ALET for the SAPI data spc
244 (F4) X'F4' 0  SDBSAPID "SDBCBADR,4,C'A'" Address of SAPID. The SAPID is in a data space.
         If SDB4IRDR or SDB4NJET related CB is the JRW in the
         IRWD
244 (F4) X'F4' 0  SDBJRW "SDBCBADR,4,C'A'" Address of JRW.
248 (F8) DBL WORD 8   (0) ALIGN SDBTAB ON DOUBLE WORD
248 (F8) BITSTRING 1  SDBTAB Major/minor TAB
248 (F8) X'100' 0  SDBAIOT "TABAIOT-TAB+SDBTAB,,C'A'" POINT TO ALLOCATION IOT
260 (104) ADDRESS 4  SDBDEB Pointer to last DEB that was OPENed
264 (108) DBL WORD 8  SDBTRKF FIRST RBA
272 (110) DBL WORD 8  SDBTRK RBA OF 1ST LREC IN CURRENT UBF
280 (118) DBL WORD 8  SDBTRKL ENDING RBA
288 (120) CHARACTER 8  SDBKEY(0) RECORD VERIFICATION KEY --- (must stay as C type for HASCOFST to compile)
288 (120) BITSTRING 4  SDBJKEY 4-BYTE UNIQUE JOB KEY
292 (124) BITSTRING 4  SDBDKEY 4-BYTE UNIQUE DS NO. IN JOB
296 (128) SIGNED 8  SDBSRECN Record number of DS start
304 (130) BITSTRING 1  SDBJMEMN Target job's member number
305 (131) BITSTRING 1  SDBHPFCT HPUTFULL call count
306 (132) SIGNED 2  SDBJASID TARGET JOB'S ASID (BROWSE)
308 (134) CHARACTER 8  SDBRCID 8 CHAR RECVR ID FOR BROWSE
316 (13C) SIGNED 4  SDBLOGAD ADDR OF BROWSE LOG STRING
320 (140) BITSTRING 1  SDBFLGAS Asynchronous flag byte (updates serialized by local lock)
      ...1 ....  SDBASJBL "B'00010000'" Waiting for job buf limit
      .... 1...  SDBASBWT "B'00001000'" Waiting for buffer (data set or job limit)
321 (141) BITSTRING 1  SDBFLG3 FLAG BYTE 3
      1... ....  SDB3NIRB "B'10000000'" Release TCBNOIRB when SDBLOCK is released
      .1.. ....  SDB3SRBO "B'01000000'" Do not position to start of UBF. It was SRB obtained
      ..1. ....  SDB3LINE "B'00100000'" RECORD IS LINE MODE
      ...1 ....  SDB3PAGE "B'00010000'" RECORD IS PAGE DATA
      .... 1...  SDB3OUTX "B'00001000'" ABEND722 IN PROGRESS
      .... .1..  SDB3PBAD "B'00000100'" PUT was unsuccessful
      .... ..1.  SDB3PSP "B'00000010'" HPMOVE spanning record
      .... ...1  SDB3BTRC "B'00000001'" DATASET BLANKS TRUNCATED
322 (142) BITSTRING 1  SDBFLG4 FLAG BYTE 4
      1... ....  SDB4PSO "B'10000000'" PROCESS-SYSOUT DATA SET
      .1.. ....  SDB4SYIN "B'01000000'" SYSIN DATA SET
      ..1. ....  SDB4SOUT "B'00100000'" SYSOUT DATA SET
      ...1 ....  SDB4RECV "B'00010000'" DATA SET ALLOCATED FOR RECV
      .... 1...  SDB4SPBR "B'00001000'" SPOOL BROWSE DATA SET
      .... .1..  SDB4NJET "B'00000100'" NJE/TCP data set
      .... ..1.  SDB4TNJR "B'00000010'" NJE/TCP Job Receiver
      .... ...1  SDB4IRDR "B'00000001'" Internal reader data set
323 (143) BITSTRING 1  SDBFLG5 FLAG BYTE 5 SERIALIZATION: NONE (DO NOT USE IN SIO OR CHANNEL END APPENDAGES)
      1... ....  SDB5ASY "B'10000000'" Asynchronous request
      .1.. ....  SDB5OUTL "B'01000000'" OUTLIM exceeded for normal PUT request
      ..1. ....  SDB5SBNS "B'00100000'" Spool browse - Do not attempt SRB for this DS (no more data available)
      .... 1...  SDB5ADFR "B'00001000'" Defer excession limit ABEND (set during close)
      .... .1..  SDB5ABND "B'00000100'" ABEND for output limit excession (Never reset)
      .... ..1.  SDB5ADMP "B'00000010'" A DUMP is requested for the 722 ABEND (Never reset)
      .... ...1  SDB5ADON "B'00000001'" An ABEND 722 has been for this data set (reset if a second ABEND is needed)
324 (144) BITSTRING 1  SDBFLG6 Flag byte 6
      1... ....  SDB6SAPI "B'10000000'" Sysout API data set This serves as a modifier of SDB4PSO
      .1.. ....  SDB6GONE "B'01000000'" SAPID has been freed
      ..1. ....  SDB6PRT "B'00100000'" Print data set
      ...1 ....  SDB6PUN "B'00010000'" Punch data set
      .... 1...  SDB6TCL "B'00001000'" Track cell data set
      .... .1..  SDB6FTRK "B'00000100'" Full track despool data set
      .... ..1.  SDB6NSRB "B'00000010'" No SRBs for this data set
      .... ...1  SDB6UPDG "B'00000001'" Update mode GET active
325 (145) BITSTRING 1  SDBFLG7 Flag byte 7
      1... ....  SDB7PUT1 "B'10000000'" Indicate first put is done in a segment
      .1.. ....  SDB7SPIN "B'01000000'" SPIN is required for segmentation
      ..1. ....  SDB7SUPD "B'00100000'" Segmentation is suspended
      ...1 ....  SDB7NULL "B'00010000'" PDB1NULL was on when data set (fake) opened
      .... 1...  SDB7JLOG "B'00001000'" Joblog data set (set only if SPOOL browse SDB)
      .... .1..  SDB7JRPL "B'00000100'" Extended JES2 mode RPL in use
      .... ..1.  SDB7KSET "B'00000010'" Callers KEY is already set in SDB (do not reset)
      .... ...1  SDB7SPC "B'00000001'" Data set spinning support via $SPIN
         SDB7PSCR indicates SCRs are to be processed as
         normal records. This bit is only honored if an
         extended RPL is passed (SDB7JRPL is on).
         Processing is altered as follows:
          GET - SCRs are returned to the caller. RPLH1SCR
                  is set if the current record is an SCR.
      .... ...1  SDB7PSCR "B'00000001'" GET - Request SCRs returned
         The flag bits in SDBFLG8 are used to document why
         an open failed in the HASP708 message.
326 (146) BITSTRING 1  SDBFLG8 Flag byte 8
      1... ....  SDB8TRAK "B'10000000'" Internal $TRAK error
      .1.. ....  SDB8CBIO "B'01000000'" Internal $CBIO error
      ..1. ....  SDB8GASN "B'00100000'" $GASSIGN error
      ...1 ....  SDB8SJFR "B'00010000'" SJFREQ error
      .... .1..  SDB8GETB "B'00000100'" GETBUF failure
      .... ..1.  SDB8NRA "B'00000010'" Suspend read ahead
327 (147) BITSTRING 1  SDBFLG9 Flag byte 9 serialization: none
      1... ....  SDB9SCR "B'10000000'" Do not skip SCRs in HAMGET processing
      .1.. ....  SDB9TYP1 "B'01000000'" Logical data set being processed-JCL, JOBLOG..
      ..1. ....  SDB9TYP2 "B'00100000'" This is logical file, Use SCRINSJL/RJL SCRs to determine next MTTR
      ...1 ....  SDB9TRAK "B'00010000'" Put update has been tracked
328 (148) ADDRESS 4  SDBDSCA DSCA chain pointer
332 (14C) ADDRESS 4  SDBDSCAW Working DSCA CB address
336 (150) ADDRESS 4  SDBDSCE Current DSCE address
340 (154) ADDRESS 4  SDBCDSCE Channel end DSCE address
344 (158) ADDRESS 4  SDBSJIOB SJIOB for CBIO
348 (15C) ADDRESS 4  SDBJFCB Pointer to JFCB
352 (160) DBL WORD 8   (0) Ensure doubleword alignment
352 (160) 8  SDBOUTLM SYSOUT OUTLIM= PARAMETER
352 (160) X'160' 0  SDBPRECN "SDBOUTLM,8,C'D'" Prev record number (POINT)
360 (168) ADDRESS 4  SDBWTCHN Buffer wait chain
364 (16C) SIGNED 4  SDBSGMT NUMBER OF LOGICAL PAGES PER SEGMENT
368 (170) SIGNED 4  SDBSEGID SEGMENT IDENTIFIER
372 (174) SIGNED 4  SDBPGCT Logical page counter use for segmentation
376 (178) DBL WORD 8  SDBOWNER Owning TCB information
376 (178) X'170' 0  SDBTTOKN "SDBOWNER-8,16" TCB Token placed here at SDB Free time; not formatted in dump
384 (180) BITSTRING 1  SDBCPSWK Caller PSW byte 1 (key)
385 (181) BITSTRING 1 Reserved
386 (182) SIGNED 1  SDBGETCT PROTGET count (number of calls without a point)
387 (183) SIGNED 1  SDBSRBCT PROTSRB count (number of SRB calls in a row)
388 (184) SIGNED 4  SDBSRECB Waiter ECB
388 (184) X'4' 0  SDBIVSDB "4" POST code if SDB no longer OPEN.
392 (188) ADDRESS 4  SDBBAT GET processing BAT chain
396 (18C) SIGNED 4  SDBBATCT GET BAT count
         SDBGMTTR is the next track address that needs to
         be read for this data set. If this field is zero,
         that does not imply that we are done reading the
         data set. It is zero if we are waiting for an I/O
         to complete.
         An EXCPVR needs to be issued if:
          - SDBGMTTR is non-zero
          - SDBPBLIN is non-zero
          - There is a BAT (on the SDBBAT chain) that does
            not have I/O active.
400 (190) DBL WORD 8  SDBGMTTI(0) Next MTTR and flags
400 (190) SIGNED 4  SDBGMTTR Next MTTR for GET to read
404 (194) BITSTRING 2 Reserved for MQTR
406 (196) BITSTRING 1  SDBGMFG1 Migration I/O flags
      1... ....  SDBG1MPR "B'10000000'" This MTTR processed for migration
      .1.. ....  SDBG1SOV "B'01000000'" Source override - use source DAS for I/O
407 (197) BITSTRING 1  SDBGMIGT Migration transition count captured from DAS when I/O is queued
408 (198) DBL WORD 8  SDBINPBL(0) --+ Align for CDS/CSG
408 (198) SIGNED 4  SDBINPBC | Count of chain updates
412 (19C) ADDRESS 4  SDBPBLIN --+ GET inactive PBLOCK chain
416 (1A0) DBL WORD 8   (0) --+ Align for CDS
416 (1A0) ADDRESS 4  SDBPBLAC | GET active PBLOCK chain
420 (1A4) ADDRESS 4  SDBPBLFL --+ GET full PBLOCK chain
424 (1A8) SIGNED 4  SDBPBLCT GET PBLOCK count
428 (1AC) SIGNED 4  SDBPBUFC GET buffer count in PBLKs
432 (1B0) ADDRESS 4  SDBAPBL Current PBLOCK
436 (1B4) ADDRESS 4  SDBAMTRE Current MTTR entry
440 (1B8) CHARACTER 12  SDBENQNM SDB lock minor name
          MACRO-DATE = 03/16/15
452 (1C4) SIGNED 4   (0) ESTABLISH A FULLWORD BOUNDARY
452 (1C4) X'1C4' 0  SDBENQ "*" X02113
452 (1C4) ADDRESS 1 PELLAST flag byte. X02113
453 (1C5) ADDRESS 1 PELMILEN - RNAME length.
454 (1C6) BITSTRING 1  
                                       PELFLAG - flag byte 2.
455 (1C7) ADDRESS 1 PELRET - return code byte.
456 (1C8) ADDRESS 4 QNAME ADDRESS
460 (1CC) ADDRESS 4 RNAME ADDRESS
460 (1CC) X'C' 0  SDBENQL "*-SDBENQ"
464 (1D0) ADDRESS 4  SDBUSER1 RESERVED FOR USER
468 (1D4) ADDRESS 4  SDBUSER2 RESERVED FOR USER
472 (1D8) SIGNED 4  SDBISTDS Current instream data set number (initialized to 1)
         BUFFER POINTERS USED BY HAM (USE DEPENDENT ON TYPE OF
         I/O REQUEST BEING PROCESSED)
476 (1DC) ADDRESS 4  SDBUBF Input - Unprotected buffer
480 (1E0) ADDRESS 4  SDBPBF Protected buffer address
484 (1E4) ADDRESS 4  SDBSCDR SPOOL data record in PBF
488 (1E8) ADDRESS 4  SDBPBFS PBUF save area (Put update)
492 (1EC) ADDRESS 4  SDBSCDRS SCDR save area (Put update)
496 (1F0) SIGNED 4  SDBPBFCS(0) ----+ Keep next fields together
496 (1F0) SIGNED 2  SDBPBFAC | PUT - PBF active count
498 (1F2) SIGNED 2  SDBPBFCT ----+ PUT - PBF obtained buffers
500 (1F4) BITSTRING 1  SDBASKEY Async requestor's key
501 (1F5) BITSTRING 1  SDBASREQ Async last request type
502 (1F6) SIGNED 2  SDBPBFLM PUT - PBF buffer limit
504 (1F8) ADDRESS 4  SDBPBFIN PUT - PBF on it's way from SDBPBF to PBUF chain
508 (1FC) ADDRESS 4  SDBDSIX DSIX pointer
512 (200) ADDRESS 4  SDBCDSXE Current DSXE pointer
516 (204) ADDRESS 4  SDBYSUBF Buffer used for instream symbol substitution
520 (208) SIGNED 8  SDBRECN Current record number
         SDBRPL is used for asynch, locate mode requests
528 (210) ADDRESS 4  SDBRPL Pointer to active RPL chain
532 (214) SIGNED 4  SDBXCPCT PHYSICAL BUFFER I/O COUNT
536 (218) DBL WORD 8  SDBUPRBA RBA FOR GET/PUT-UPDATE & POINT
544 (220) DBL WORD 8  SDBURBAS POINT RBA save area
552 (228) BITSTRING 6  SDBPTIME Time stamp for POINT
558 (22E) BITSTRING 1  SDBFLGP POINT flag byte
      1... ....  SDBPPNT "B'10000000'" Point operation active
      .1.. ....  SDBPRTOK "B'01000000'" Point operation retryable
      ..1. ....  SDBPRTRY "B'00100000'" Point retry not attempted
      ...1 ....  SDBPTIMN "B'00010000'" Point by next time
      .... 1...  SDBPTIMP "B'00001000'" Point by previous time
559 (22F) BITSTRING 1 Reserved
560 (230) SIGNED 4  SDBHFRCT HFINDRBA residual count
564 (234) SIGNED 4  SDBMTTR MTTR OF NEXT BLOCK
568 (238) ADDRESS 4  SDBASECB Address of async ECB
572 (23C) SIGNED 4  SDBNBLK NUMBER OF DATA BLOCKS READ
576 (240) SIGNED 4  SDBBFECB WAIT-BUF ECB FOR SVCPUTS
580 (244) ADDRESS 4  SDBYLGC Ptr to logging YLGC
584 (248) DBL WORD 8  SDBDWORK Doubleword work area
592 (250) DBL WORD 8  SDBDWRK2 Doubleword work area
592 (250) X'248' 0  SDBWRK16 "SDBDWORK,16" 16 byte work area
600 (258) BITSTRING 7  SDBSCDRQ SCDR work area
607 (25F) BITSTRING 1 Reserved
608 (260) BITSTRING 6  SDBIOTMQ MQTR of PDDB IOT
614 (266) BITSTRING 2  SDBLGDSV(0) HAM GET logical data set view types requested
614 (266) BITSTRING 1  SDBLGDV1 logical dataset view type1
615 (267) BITSTRING 1  SDBLGDV2 logical dataset view type2
         Packed decimal versions of count fields
616 (268) 8  SDBDRECD Logical record count in packed decimal format
624 (270) 8  SDBDPAGE Actual page count in packed decimal format
632 (278) 8  SDBDBYTE Actual byte count in packed decimal format
         Binary versions of count fields (for PDDB)
640 (280) SIGNED 4  SDBRECCT Logical record count
644 (284) SIGNED 4  SDBPAGCT Actual page count
648 (288) SIGNED 4  SDBBYTCT Actual byte count
652 (28C) ADDRESS 4  SDBSPC Address of spin control
         PDDB pending update section. When the buffer whose
         address is specified is seen in the channel end
         appendage, the corresponding counts are updated in
         the PDDB.
656 (290) SIGNED 4  SDBPNCNT Buffers updates since last PDDB update
660 (294) BITSTRING 4  SDBPNMTT Buffer address
664 (298) SIGNED 4  SDBPNREC Logical record count
668 (29C) SIGNED 4  SDBPNPAG Actual page count
672 (2A0) SIGNED 4  SDBPNBYT Actual byte count
676 (2A4) ADDRESS 4  SDBLCKRB RB pointer used by PGEXCPCK
         SPOOL compression/Encryption section
680 (2A8) BITSTRING 32  SDBRECPR Record prefix section - built by put code and supplied to service
712 (2C8) BITSTRING 1  SDBFLGA Flag byte A
      1... ....  SSBACOMP "B'10000000'" Compress only
      .1.. ....  SSBAENCR "B'01000000'" Encrypt only
      ..1. ....  SSBABOTH "B'00100000'" Compress and encrypt
713 (2C9) BITSTRING 15 Reserved
         Diagnostic area for unwritten buffer processing.
         The following are input areas passed to the SRB.
728 (2D8) SIGNED 4  SDBMTTRT Target MTTR
732 (2DC) ADDRESS 4  SDBFSDB SDB address given to SRB
736 (2E0) DBL WORD 8  SDBBKEY Unique buffer key
744 (2E8) ADDRESS 4  SDBSTKN STOKEN given to IEAMSCHD
         The following are output fields from the SRB.
748 (2EC) SIGNED 4  SDBRETC Return code from PROTSRB
752 (2F0) BITSTRING 0  SDBSRBOA(0) Output area from HASCUBSR. Keep fields SDBSDBA thru SDBBPTFA together.
752 (2F0) ADDRESS 4  SDBSDBA ---+ A(SDB) that matches the key
756 (2F4) ADDRESS 4  SDBAPBF | SDBPBF
760 (2F8) ADDRESS 4  SDBPBFI | Inflight PBF buffer address
764 (2FC) ADDRESS 4  SDBBPTR | Address of found buffer
768 (300) SIGNED 4  SDBBTRK | MTTR of found buffer
772 (304) ADDRESS 4  SDBBADBF | Address of invalid buffer
776 (308) ADDRESS 4  SDBADSDB | Address of invalid SDB
780 (30C) ADDRESS 4  SDBBPBF | BATPBF if checking this Q
784 (310) ADDRESS 4  SDBBPTFA ---+ BATPBFA if checking this Q
784 (310) X'24' 0  SDBSOLEN "*-SDBSDBA" L'(PROTSRB) diagnostic area
         ASOK fields.
788 (314) BITSTRING 8  SDBASOK(0) ASOK fields
790 (316) SIGNED 2  SDBASOKO Ordinality of ASOK L1
792 (318) SIGNED 2  SDBASOK1 Offset into Level 1 ASOK
794 (31A) SIGNED 2  SDBASOK2 Offset into Level 2 ASOK
796 (31C) SIGNED 4 Reserved for future use
         Copy of RPL when SDB is locked (if any)
800 (320) DBL WORD 8   (0)  
800 (320) BITSTRING 56  SDBRPLC Copy of RPL
         Reserved space
856 (358) ADDRESS 4  SDBDSEL Address of DSETLVL
856 (358) X'380' 0  SDBLNG "((*-SDB+127)/128)*128" Length of DSECT
Table 2. Structure ASOK
Offset
Dec
Offset
Hex
Type Len Name(Dim) Description
0 (0) STRUCTURE 0 ASOK
0 (0) CHARACTER 4  ASOEYE Eye catcher ASOK level 1
4 (4) ADDRESS 4  ASONEXT Addr of next level 1 ASOK
8 (8) ADDRESS 4  ASOPTR(0) Addresses of level 2 ASOKs
8 (8) X'4' 0  ASOELEN1 "4" Length of one entry ... caution! Length must be a power of 2
8 (8) X'3FE' 0  ASONRL1 "1022" Number of L1 entries
8 (8) X'1000' 0  ASOLENL1 "8+ASOELEN1*ASONRL1" Length of L1 ASOKs
         DC C'ASO2' Eye catcher level 2 ASOK
4 (4) ADDRESS 4  ASOCOUNT Count of available entries
8 (8) ADDRESS 4  ASOSDB(0) Addresses of SDBs
8 (8) X'8' 0  ASOELEN2 "8" Length of one entry ... caution! Length must be a power of 2
8 (8) X'1FF' 0  ASONRL2 "511" Number of L2 entries
8 (8) X'1000' 0  ASOLENL2 "8+ASOELEN2*ASONRL2" Length of L2 ASOKs
8 (8) X'8' 0  ASOIRWD "ASOSDB,4,C'A'" Addresses of IRWDs
Table 3. Cross Reference for $SDB
Name Offset Hex Tag
ASOCOUNT 4
ASOELEN1 8 4
ASOELEN2 8 8
ASOEYE 0 C1E2D6F1
ASOIRWD 8 8
ASOK 0
ASOLENL1 8 1000
ASOLENL2 8 1000
ASONEXT 4
ASONRL1 8 3FE
ASONRL2 8 1FF
ASOPTR 8
ASOSDB 8
SDB 0
SDBADSDB 308
SDBAIOT F8 100
SDBAMTRE 1B4
SDBAPBF 2F4
SDBAPBL 1B0
SDBASBWT 140 8
SDBASECB 238
SDBASJBL 140 10
SDBASKEY 1F4
SDBASOK 314
SDBASOKO 316
SDBASOK1 318
SDBASOK2 31A
SDBASREQ 1F5
SDBBADBF 304
SDBBAT 188
SDBBATCT 18C
SDBBFECB 240
SDBBKEY 2E0
SDBBPBF 30C
SDBBPTFA 310
SDBBPTR 2FC
SDBBTRK 300
SDBBYTCT 288
SDBCBADR F4
SDBCBALE F0
SDBCDSCE 154
SDBCDSXE 200
SDBCPSWK 180
SDBDBYTE 278
SDBDDNM C0
SDBDEB 104
SDBDKEY 124
SDBDPAGE 270
SDBDRECD 268
SDBDSCA 148
SDBDSCAW 14C
SDBDSCE 150
SDBDSEL 358
SDBDSIX 1FC
SDBDWORK 248
SDBDWRK2 250
SDBENQ 1C4 1C4
SDBENQL 1CC C
SDBENQNM 1B8 E2C4C24B
SDBEVSKP BE 10
SDBFLAGY BF
SDBFLGA 2C8
SDBFLGAS 140
SDBFLGM BE
SDBFLGP 22E
SDBFLG1 BC
SDBFLG2 BD
SDBFLG3 141
SDBFLG4 142
SDBFLG5 143
SDBFLG6 144
SDBFLG7 145
SDBFLG8 146
SDBFLG9 147
SDBFSDB 2DC
SDBGETCT 182
SDBGMFG1 196
SDBGMIGT 197
SDBGMTTI 190
SDBGMTTR 190
SDBG1MPR 196 80
SDBG1SOV 196 40
SDBHCCT D4
SDBHFRCT 230
SDBHPFCT 131
SDBID B0
SDBINPBC 198
SDBINPBL 198
SDBIOTMQ 260
SDBISTDS 1D8
SDBIVSDB 184 4
SDBJASID 132
SDBJFCB 15C
SDBJFCBE E0
SDBJKEY 120
SDBJMEMN 130
SDBJRW F4 F4
SDBKEY 120
SDBLCKRB 2A4
SDBLENG B4
SDBLGDSV 266
SDBLGDV1 266
SDBLGDV2 267
SDBLNG 358 380
SDBLOGAD 13C
SDBMCNCT BE 1
SDBMJML BE 80
SDBMJSM BE 40
SDBMRSKP BE 20
SDBMSJDS BE C0
SDBMSPEC BE 8
SDBMTTR 234
SDBMTTRT 2D8
SDBNBLK 23C
SDBNOTIF BE 2
SDBOPNCT C8
SDBOUTLM 160
SDBOUTPU BE 4
SDBOWNER 178
SDBPAGCT 284
SDBPBF 1E0
SDBPBFAC 1F0
SDBPBFCS 1F0
SDBPBFCT 1F2
SDBPBFI 2F8
SDBPBFIN 1F8
SDBPBFLM 1F6
SDBPBFS 1E8
SDBPBLAC 1A0
SDBPBLCT 1A8
SDBPBLFL 1A4
SDBPBLIN 19C
SDBPBUFC 1AC
SDBPDDB E8
SDBPDDBA EC
SDBPGCT 174
SDBPIOT E4
SDBPNBYT 2A0
SDBPNCNT 290
SDBPNMTT 294
SDBPNPAG 29C
SDBPNREC 298
SDBPPNT 22E 80
SDBPRECN 160 160
SDBPRTOK 22E 40
SDBPRTRY 22E 20
SDBPTIME 228
SDBPTIMN 22E 10
SDBPTIMP 22E 8
SDBRCID 134
SDBRECCT 280
SDBRECN 208
SDBRECPR 2A8
SDBRETC 2EC
SDBRPL 210
SDBRPLC 320
SDBR14SV B8
SDBSAPAL F4 F0
SDBSAPID F4 F4
SDBSAVE 0
SDBSCDR 1E4
SDBSCDRQ 258
SDBSCDRS 1EC
SDBSDB DC
SDBSDBA 2F0
SDBSEGID 170
SDBSGMT 16C
SDBSJB D8
SDBSJIOB 158
SDBSOLEN 310 24
SDBSPC 28C
SDBSRBCT 183
SDBSRBOA 2F0
SDBSRECB 184
SDBSRECN 128
SDBSTKN 2E8
SDBSTMT# B6
SDBTAB F8
SDBTCBM CC
SDBTCBO D0
SDBTRK 110
SDBTRKF 108
SDBTRKL 118
SDBTTOKN 178 170
SDBUBF 1DC
SDBUPRBA 218
SDBURBAS 220
SDBUSER1 1D0
SDBUSER2 1D4
SDBWRK16 250 248
SDBWTCHN 168
SDBXCPCT 214
SDBYLGC 244
SDBYSUBF 204
SDB1CLOS BC 4
SDB1ENDR BC 2
SDB1ENQ BC 40
SDB1FOPN BC 1
SDB1GET BC 80
SDB1HPUT BC 10
SDB1OUT BC 8
SDB1PUT BC 20
SDB2DSRS BD 4
SDB2EOD BD 10
SDB2GLM BD 8
SDB2INDX BD 1
SDB2IOE BD 80
SDB2VAL BD 40
SDB2VDK BD 20
SDB2XBIN BD 2
SDB3BTRC 141 1
SDB3LINE 141 20
SDB3NIRB 141 80
SDB3OUTX 141 8
SDB3PAGE 141 10
SDB3PBAD 141 4
SDB3PSP 141 2
SDB3SRBO 141 40
SDB4IRDR 142 1
SDB4NJET 142 4
SDB4PSO 142 80
SDB4RECV 142 10
SDB4SOUT 142 20
SDB4SPBR 142 8
SDB4SYIN 142 40
SDB4TNJR 142 2
SDB5ABND 143 4
SDB5ADFR 143 8
SDB5ADMP 143 2
SDB5ADON 143 1
SDB5ASY 143 80
SDB5OUTL 143 40
SDB5SBNS 143 20
SDB6FTRK 144 4
SDB6GONE 144 40
SDB6NSRB 144 2
SDB6PRT 144 20
SDB6PUN 144 10
SDB6SAPI 144 80
SDB6TCL 144 8
SDB6UPDG 144 1
SDB7JLOG 145 8
SDB7JRPL 145 4
SDB7KSET 145 2
SDB7NULL 145 10
SDB7PSCR 145 1
SDB7PUT1 145 80
SDB7SPC 145 1
SDB7SPIN 145 40
SDB7SUPD 145 20
SDB8CBIO 146 40
SDB8GASN 146 20
SDB8GETB 146 4
SDB8NRA 146 2
SDB8SJFR 146 10
SDB8TRAK 146 80
SDB9SCR 147 80
SDB9TRAK 147 10
SDB9TYP1 147 40
SDB9TYP2 147 20
SSBABOTH 2C8 20
SSBACOMP 2C8 80
SSBAENCR 2C8 40