Database function codes
The DL/I function codes are shown.
Buffer handler function codes
PSTFNCTN is located at PST + X'1C4'.
The following table shows the buffer handler function codes.
Code (hex) | PSTFNCTN | Caller's request function |
---|---|---|
DB | PSTSRCHP | Search pool for record in range |
DD | PSTRELLR | Release record ownership |
DE | PSTRSTAT | Retrieve buffer pool statistics |
DF | PSTVERFY | Verify VSAM data set |
E0 | PSTVPUT | Put record to VSAM data set |
E1 | PSTBKLCT | Block Locate |
E2 | PSTBYLCT | Byte Locate |
E3 | PSTISRCH | Not used |
E4 | PSTIESDS | Create new ESDS/OSAM LRECL |
E5 | PSTPGUSR | Write LRECLS for user (PURGE) |
E6 | PSTBFALT | Mark record altered |
E9 | PSTFBSPC | Free space in buffer pool (BFPL) |
EA | PSTOWTCK | Perform background write function |
EB | PSTBYALT | Byte locate and mark altered |
EC | PSTBFMPT | Mark buffers empty (BFPL) |
ED | PSTCHKPT | Checkpoint |
EE | PSTSTAPG | Batch STAE purge at ABEND |
EF | PSTERRPG | Purge user for I/O error check |
EF | PSTFRWRT | OSAM buffer forced write |
F0 | PSTSTLBG | Retrieve first LRECL by key |
F1 | PSTERASE | Erase logical record |
F2 | PSTSTLEQ | Retrieve by key EQ or GT |
F3 | PSTSTLCI | Retrieve key EQ or GT - repair CI |
F4 | PSTSTLIS | Retrieve by key REC to chain from insert logical record (KSDS) |
F7 | PSTRSIAB | Reset invalidate all buffers trigger |
F9 | PSTCPYGU | Position by key for Image Copy |
FA | PSTCPYGN | Get next record for Image Copy |
The following table shows the space management function codes.
Code (hex) | PSTFNCTN | Caller's request function |
---|---|---|
31 | PSTGTSPC | Get space for the segment |
32 | PSTFRSPC | Free space for the segment |
34 | PSTGTRAP | Get space close to root anchor PSTBYTNM. Request to turn off bit map bit. Refer to label PSTBTMPF. |
35 | PSTGZIDL | Get local serialization as a service to LRH00 during /ERE when IRLM as SLM is not there. |
36 | PSTRZIDL | Release local serialization |
B1 | PSTGTSPH | Request for space at BLOCK and OFFS B2-B5 are reserved for tracing PSTDATA. PSTOFFSET must point to the location requested. |
The following table shows the Open/Close function codes.
Code (hex) | PSTFNCTN | Caller's request function |
---|---|---|
00 | PSTOCCLS | This is a close call. This is the absence of PSTOCOPN (X'08') or PSTOCOPN is reset. |
01 | PSTOCDMB | The DDIR address is in register 2 |
02 | PSTOCPCB | The PCB address is loaded from PSTDBPCB to registers 1 |
04 | PSTOCALL | OPEN/CLOSE all DMBs in the system |
08 | PSTOCOPN | This is an OPEN call |
0C | Combine X'04' and X'08' | |
10 | PSTOCDCB | OPEN/CLOSE DCB PSTDSGA = DSG |
20 | PSTOCLD | Open for load |
21 | PSTOCDMA | CLOSE and UNAUTHORIZE DMB address of DDIR in register 2 |
40 | PSTOCDSG | OPEN/CLOSE DSG PSTDSGA = DSG |
80 | PSTOCBAD | The PSTOCBAD (X'80') is set to indicate to the caller that the requested function failed |
The following table shows the index maintenance function codes.
Code (hex) | PSTFNCTN | Caller's request function |
---|---|---|
A0 | PSTXMDLT | Index maintenance for segment to be deleted |
A1 | PSTXMRPL | Index maintenance for segment to be replaced |
A2 | PSTXMISR | Index maintenance for segment to be inserted |
A3 | PSTXMUNL | Index maintenance for segment to be unloaded |
The following table shows the block loader function codes.
Code (hex) | PSTFNCTN | Caller's request function |
---|---|---|
00 | PSTRSVDB | Reserve database resources |
01 | PSTDMBRD | Read DMB from ACBLIB |
02 | PSTPSBRD | Read PSB from ACBLIB |
03 | PSTINTRD | READ INTENT and DMB name lists from ACBLIB |
04 | PSTENQ | PI Processing is required |
40 | PSTEREFF | Free DB resources (SCHED failed) |
80 | PSTFREDB | Free DB resources (termination) |