Buffer handler return codes

Buffer handler return codes consist of a symbolic name, instruction, value, and meaning.

The following table contains the possible buffer handler return codes.

Table 1. Buffer handler return codes
Symbolic name Instruction Value or equated value Meaning
PSTRTCDE DC 1XL1'00' Status of call
PSTCLOK EQU X'00' Everything satisfactory
PSTGTDS EQU X'04' Relative block number (RBN) beyond data set
PSTRDERR EQU X'08' Permanent read error
PSTNOSPC EQU X'0C' No more space in data set
PSTBDCAL EQU X'10' Illegal call
PSTENDDA EQU X'14''
End of data set encountered
*no record returned
PSTNOTFD EQU X'18' Requested record cannot be found
PSTNWBLK EQU X'1C' New block created in buffer pool
PSTNPLSP EQU X'20' Insufficient space in pool
PSTTRMNT EQU X'24' User must terminate. No space in pool
PSTDUPLR EQU X'28' Logical record already in key sequenced data set (KSDS)
PSTWRERR EQU X'2C' Permanent write error
PSTBUFIN EQU X'30' Buffer invalidated
PSTBIDIN EQU X'34' Unable to acquire BID/B
PSTPDERR EQU X'38' Unable to locate DDIR/PDIR entry
PSTNOSTO EQU X'3C' Storage not available