The Change JSM Authority (CHGJSMAUT) command will apply the CHGAUT command to all files and subdirectories including the JSM instance directory.
The command will check that the instance path is valid by checking for the existence of following subdirectories.
When you enter the command
and press F4 you will be prompted to enter the following:
The name of the user whose authority is being set for all files and directories below and including the JSM instance directory.
The level of data authority for all files and directories below and including the JSM instance directory.
The level of object authority for all files and directories below and including the JSM instance directory.
The instance defaults to a value of *DEFAULT. This is the recommended value. The default instance is defined in the JSMMGRDTA data area at position 1 to 50.
CHGJSMAUT USER(*PUBLIC) DTAAUT(*EXCLUDE) OBJAUT(*NONE) INSTANCE(*DEFAULT)
This program will call the CHGAUT on all files and sub-directories in the instance directory.
CHGAUT USER(%s) DTAAUT(%s) OBJAUT(%s) OBJ(%s)
Example from the DSPJOBLOG command
Object /jsm/instance changed.
Object /jsm/instance/classes changed.
Object /jsm/instance/dtd changed.
Object /jsm/instance/dtd/order.dtd changed.