Buffer handler return codes

The buffer handler return codes, subcodes, and definitions are listed and defined.

Buffer handler return codes

The following table describes the buffer handler return codes.

Table 1. Buffer handler return codes
Return code Subcode Definition
PSTCLOK X'00' Everything correct
PSTGTDS X'04' RBN beyond data set
PSTRDERR X'08' Permanent read error
PSTNOSPC X'0C' No more space in data set
PSTBDCAL X'10' Illegal call
PSTENDDA X'14' End of data set encountered — no record returned
PSTNDTFD X'18' Requested record cannot be found
PSTNWBLK X'1C' New block created in buffer pool
PSTNPLSP X'20' Insufficient space in pool.
PSTTRMNT X'24' User must terminate, no space in pool.
PSTDUPLR X'28' Logical record already in KSDS.
PSTWRERR X'2C' Permanent write error.
PSTBUFIN X'30' Buffer invalidate.
PSTBIDIN X'34' Unable to acquire BID lock.
PSTPDERR X'38' Unable to locate DDIR/PDIR entry.
PSTNOSTO X'3C' Storage not available.
PSTRRERR X'40' CF read and register error.
PSTCURER X'44' Space management OLR cursor error.
PSTCLSDS X'48' Attempt to access a closed data set.