SJSMP mapping

Table 1. Structure SJSMP
Offset
Dec
Offset
Hex
Type Len Name(Dim) Description
0 (0) STRUCTURE 0 SJSMP SWBTU_MERGE Parameter List
0 (0) CHARACTER 4  SJSMID Identifier 'SJSM'
4 (4) BITSTRING 1  SJSMVERS Version number
5 (5) BITSTRING 1  SJSMFLAG Control Flag
      1... ....  SJSMNREC "X'80'" No recovery
      .1.. ....  SJSMNOCU "X'40'" No cleanup
6 (6) SIGNED 2  SJSMLEN Length of SJSMP parameter list, does not include areas pointed to by this segment.
8 (8) ADDRESS 4  SJSMSTOR Local storage pointer (returned from previous SJF call) or zero. If SJSMNOCU is specified, then returned as output.
12 (C) SIGNED 4  SJSMREAS Reason code (returned as output)
16 (10) ADDRESS 4  SJSMAREA Address of output area for returned single SWBTU
20 (14) SIGNED 2  SJSMSIZE Size of single SWBTU return area
22 (16) SIGNED 2  SJSMSWBN Number of base SWBTUs or zero - refer to SJSMSBTL
24 (18) ADDRESS 4  SJSMSWBA Address of base SWBTU pointer list - refer to SJSMSBTL
28 (1C) ADDRESS 4  SJSMMTUP Address of pointer list of override (modify) SWBTUs or zero - refer to SJSMSBTL
32 (20) SIGNED 2  SJSMMTUN Number of override SWBTUs or zero - refer to SJSMSBTL
34 (22) SIGNED 2  SJSMETUS Size of erase text unit list or zero
36 (24) ADDRESS 4  SJSMETUP Address of area containing contiguous text units (key and zero number of parameters) to be erased from the base SWBTUs - refer to IEFDOTUM
40 (28) CHARACTER 8  SJSMJDVT Name of JDVT used to create the SWBTUs - also returned as output
48 (30) BITSTRING 1  SJSMFLG2 Options flag
      1... ....  SJSMWARN "X'80'" Continue processing after an error is encountered which is due to changes in the JDTs between releases
      .1.. ....  SJSMBYMV "X'40'" Bypass JDT validation of text units in modify SWBTU
      ..1. ....  SJSMBYEV "X'20'" Bypass JDT validation of keys in erase key list
49 (31) CHARACTER 1  SJSMRSV1 Reserved
50 (32) SIGNED 2  SJSMTULN Size of returned single output SWBTU (returned)
52 (34) SIGNED 4  SJSMRETC Unexpected return code of a service used in SWBTU_MERGE. Set when SJSMREAS is in range 1950 through 1999.
56 (38) SIGNED 4  SJSMERRS Reason code returned along with unexpected return code in SJSMRETC. Set when SJSMREAS is in range 1950 through 1999. For a Getmain or Freemain error, then this field indicated the relative number of the request (for service).
60 (3C) ADDRESS 4  SJSMERRP Address of SWBTU pointer list entry where a SWBTU error was encountered
64 (40) BITSTRING 2  SJSMMKER Key of modify SWBTU text unit where a JDT validation error occurred
66 (42) BITSTRING 2  SJSMEKER Key of erase key list where a JDT validation error occurred
68 (44) CHARACTER 4  SJSMRSV2 Reserved
68 (44) X'48' 0  SJSMLGTH "*-SJSMP" Length of the SWBTU_MERGE Parameter List
68 (44) X'D1E2D4' 0  SJSMCID "C'SJSM'" Parameter list identifier
68 (44) X'1' 0  SJSMCVER "1" Current version number
Table 2. Structure SJSMSBTL
Offset
Dec
Offset
Hex
Type Len Name(Dim) Description
0 (0) STRUCTURE 0 SJSMSBTL SWBTU Address list
0 (0) SIGNED 4   (0)  
0 (0) ADDRESS 4  SJSMSTUP SWBTU address
0 (0) X'4' 0  SJSMSLEN "*-SJSMSBTL" Length of one SWBTU address list entry
Table 3. Cross Reference for SJSMP
Name Offset Hex Tag
SJSMAREA 10
SJSMBYEV 30 20
SJSMBYMV 30 40
SJSMCID 44 D1E2D4
SJSMCVER 44 1
SJSMEKER 42
SJSMERRP 3C
SJSMERRS 38
SJSMETUP 24
SJSMETUS 22
SJSMFLAG 5
SJSMFLG2 30
SJSMID 0
SJSMJDVT 28
SJSMLEN 6
SJSMLGTH 44 48
SJSMMKER 40
SJSMMTUN 20
SJSMMTUP 1C
SJSMNOCU 5 40
SJSMNREC 5 80
SJSMP 0
SJSMREAS C
SJSMRETC 34
SJSMRSV1 31
SJSMRSV2 44
SJSMSBTL 0
SJSMSIZE 14
SJSMSLEN 0 4
SJSMSTOR 8
SJSMSTUP 0
SJSMSWBA 18
SJSMSWBN 16
SJSMTULN 32
SJSMVERS 4
SJSMWARN 30 80