Secondary parameter block

Offset +24 of EXPB contains the address of the secondary parameter block (SPB). The exit can use the SPB to determine the environmental conditions of the service. Table 1 describes the contents of SPB.

Table 1. SPB Control Block Format
Offset (Dec) Number of Bytes Description
0 4 Name.

The name of the control block. The field contains the character string SPB.

4 2 Version.

The version of the control block. The field contains the character string 04.

6 2 Length.

The length of the control block.

8 4 CCVT.

The address of the Cryptographic Communication Vector Table (CCVT). For a description of the CCVT, see The Cryptographic Communication Vector Table (CCVT).

12 4 Signal Information Word.

Bytes 1–2 Reserved.

Bytes 3–4 of the field contain the installation-assigned code number for an installation-defined service.

16 4 Flags and Indicators. Each byte of this field is either an indicator byte or contains flag bits. The contents of each byte in the field are:

Byte 1—PSW key. This byte contains the original caller's program status word key. The first four bits are the key and the remaining four bits are zeros.

Byte 2—Caller's state. Each bit in byte 2 indicates a condition of the caller's state.
Bit
Meaning When Set On
0
ICSF was entered via SVC entry from a PCF compatibility macro.
1
Original caller in AMODE(31).
2
Original caller in AR mode.
3
Original caller in SRB mode.
4
Original caller in supervisor state or system key.
5
Original caller in AMODE(64).
6–7
Reserved.
Byte 3—Flag byte 1. The first flag byte. Each bit that is set on indicates a particular condition.
Note: These bits are informational. Do not change bits 0 and 1.
Bit
Meaning When Set On
0
Reserved.
1
Reserved.
2
The recovery routine should not retry.
3 - 7
Reserved.
Byte 4—Flag byte 2
Bit
Meaning When Set On
0
The service parameter list has a position for a return code.
1
The service parameter list has a position for a reason code.
2
Reserved.
3
The caller has no exit data.
4 and 5
Reserved.
6-7
Reserved.
20 4 Reserved.
24 4 Auxiliary SPB Pointer
28 4 EDC buffer pointer.
32 4 EDC buffer length.
36 4 Address of XPB.
40 8 ID for latch manager.
48 4 Address for ERPB.
52 8 Original caller's register 1.
60 4 Address of CPRB request storage.
64 4 Length of CPRB request storage.
68 4 Address of CPRB reply storage.
72 4 Length of CPRB reply storage.
76 4 CCPS address.
80 4 Serialization block address.
84 4 Recovery token.
88 8 Recovery footprint for hash tables.
96 4 Reserved.
100 4 Pointer to metal C stack.
104 2 Entry point index of metal C caller.
106 2 Flags and indicators

Byte 1 - Reserved.

Byte 2 - Saved value of the caller's key.

108 4 ASCB of SPB owner.
112 4 Register 14 from CSFMIREC.
116 4 Reserved.
120 4 ENVR object address.
124 4 ENVR object length.
128 4 Regional cryptographic request block address.
132 20 Reserved.
152 512 CTRACE buffer.