Batch Output File Creation Permissions
You can set up permissions for batch output file creation in the $LAWDIR/system/lajs.wrk file. Include a line for each product line, program, and work file needing permissions different from the default permissions (rw-rw----), and include the following information:
productline systemcode program workname owner group perms
| Parameter | Description | 
|---|---|
| productline | Product line to set permissions for. | 
| systemcode | System code of the program, for example, PR. | 
| program | Program code, for example, PR140. | 
| workname | Work file name as defined in workdef, for example, errors. | 
| owner | 
              User name of the owner of the file.  | 
           
| group | 
              Group name of the owner of the file.  | 
           
| perms | File creation mode (not umask) that is applied to the file, for example, 664 creates permissions of rw-rw-r--. |