2 1 4 11 Change JSM Primary Group CHGJSMPGP

LANSA Integrator

2.1.4.11 Change JSM Primary Group (CHGJSMPGP)

The Change JSM Primary Group (CHGJSMPGP) command will apply the CHGPGP 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.

  • classes
  • jar
  • properties
  • system
  • temp
  • trace

 

When you enter the command

CHGJSMPGP

and press F4 you will be prompted to enter the following:

PGP

The name of the primary group whose authority is being set for all files and directories below and including the JSM instance directory.

DTAAUT

The level of data authority for all files and directories below and including the JSM instance directory.

OBJAUT

The level of object authority for all files and directories below and including the JSM instance directory.

INSTANCE

The instance defaults to a value of *DEFAULT. This is the recommended value. The default instance is defined in the JSMMGRDTA data area. This value can be changed using 2.1.4.6 Change Default Instance (CHGJSMDFT).

Example

 

CHGJSMPGP PGP(*NONE) DTAAUT(*EXCLUDE) OBJAUT(*NONE) INSTANCE(*DEFAULT)

 

This program will call the CHGPGP on all files and sub-directories in the instance directory.

 

CHGPGP NEWPGP(%s) DTAAUT(%s) OBJAUT(%s) OBJ(%s)