Example of the PATH parameter

//DD1  DD  PATH='/usr/applics/pay.time',PATHOPTS=ORDONLY

The DD statement specifies the z/OS UNIX file pay.time that is listed in the directory applics. The directory applics is listed in the directory usr. The PATHOPTS parameter specifies that the program can only read the file.

The effects of the missing PATH parameters are:
  • The file must already exist, because the statement does not specify PATHOPTS=OCREAT.
  • The system will keep the file for both normal and abnormal step terminations, because the statement does not contain a PATHDISP parameter.
  • The access permissions were set with a PATHMODE parameter when the file was created.