Return z/OS UNIX file normal disposition specification - Key = 'C01A'

DINRPNDS requests the return of the normal disposition for the z/OS® UNIX file.

When you code DINRPNDS, # must be 1 and LEN must be at least one and can be longer, and the PARM field must be the length specified by the value in LEN.

If there is a normal file disposition associated with the allocation, the system returns the disposition in PARM and 0001 in LEN. PARM will contain one of the following values:
  • X'04' - the file is to be deleted
  • X'08' - the file is to be kept

Example: To request the return of the z/OS UNIX file normal disposition for /u/myuid/myapp/scr.dat, code:

Input:
KEY    #     LEN   PARM
8017   0001  0016  61 A4 61 94 A8 A4 89 84 61 94 A8 81 97 97 61 A2 83 99 4B 84 81 A3
C01A   0001  0001  00
Output:
KEY    #     LEN   PARM
C01A   0001  0001  04

The retrieved information indicates a normal disposition of delete for the file.