2 1 4 9 Change JSM Owner CHGJSMOWN

LANSA Integrator

2.1.4.9 Change JSM Owner (CHGJSMOWN)

The Change JSM Owner (CHGJSMOWN) command will apply the CHGPGP and CHGOWN commands 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:

CHGJSMOWN

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

NEWOWN

The name of the new owner of the 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

 

CHGJSMOWN NEWOWN(QOTHPRDOWN) INSTANCE(*DEFAULT)

 

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

 

CHGPGP OBJ(%s) NEWPGP(*NONE)

 

CHGOWN OBJ(%s) NEWOWN(%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.

...