z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Relationship to other parameters

z/OS MVS JCL Reference
SA23-1385-00

Code the PATHMODE parameter only on a DD statement that contains both a PATH parameter and a PATHOPTS parameter with OCREAT.

If OCREAT is not on the statement, the PATHMODE parameter is checked for syntax and then ignored.

You can code the following parameters with the PATHMODE parameter:
If:
  • You specify either:
    • OCREAT alone

      or:

    • Both OCREAT and OEXCL
    on the PATHOPTS parameter,

    And if:

  • The file does not exist,

Then MVS™ performs an open() function. The options from PATHOPTS, the pathname from the PATH parameter, and the options from PATHMODE (if specified) are used in the open(). MVS uses the close() function to close the file before the application program receives control.

For status group options other than OCREAT and OEXCL, the description in this documentation assumes that the application passes the subparameters to the open() function without modification. That is, this application uses dynamic allocation information retrieval (the DYNALLOC macro) to retrieve the values specified for PATHOPTS and passes the values to the open() function. The application program can ignore or modify the information specified in the JCL.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014