z/OS UNIX file access attributes - Key = '8019'
DALPMDE specifies the file access attributes for the z/OS® UNIX file. You can code DALPMDE only when you also code the pathname (DALPATH) key.
- You specify either
- The hex integers representing OCREAT alone
or
- The hex integers representing both OCREAT and OEXCL
And if
- The hex integers representing OCREAT alone
- The file does not exist,
For status group options other than OCREAT and OEXCL, the description in this information assumes that the application passes the values to the open() function without modification. That is, this application uses dynamic allocation information retrieval (the DYNALLOC macro) to retrieve the value specified for PATHOPTS and passes the value to the open() function. The application program can ignore or modify the information specified in the JCL.
When you code DALPMDE, # must be 1 and LEN must be 4; PARM must contain one of the following values or an "inclusive OR" result from any combination of the following values:
Four-byte Hex Integers | JCL Equivalent |
---|---|
X'00000800' | SISUID |
X'00000400' | SISGID |
X'00000100' | SIRUSR |
X'00000080' | SIWUSR |
X'00000040' | SIXUSR |
X'000001C0' | SIRWXU |
X'00000020' | SIRGRP |
X'00000010' | SIWGRP |
X'00000008' | SIXGRP |
X'00000038' | SIRWXG |
X'00000004' | SIROTH |
X'00000002' | SIWOTH |
X'00000001' | SIXOTH |
X'00000007' | SIRWXO |
KEY # LEN PARM
8019 0001 0004 00000020
KEY # LEN PARM
8019 0001 0004 000000A0