Search Rocket site

PERMISSIONS=octal-numeric-value

The PERMISSIONS control statement specifies the file permissions to apply to the z/OS UNIX domain socket created using the SOCKET control statement. For more information, see SOCKET.

By default, the file specified on the SOCKET control statement is created with the permissions defined by your system. Use the PERMISSIONS control statement to override those settings. To do this, add the PERMISSIONS control statement as above, replacing the octal-numeric-value with numeric file system permissions in octal notation. Users familiar with the UNIX chmod command will recognize this format as a three digit number with digits in the range 0 to 7 that defines permissions for owners, groups, and everyone else (others).

Example

To create a socket that gives read, write, and execute permissions to all, use the following control statements:

SOCKET=/u/cicsprod/cprof.sock
PERMISSIONS=777