Previous Topic: More InformationNext Topic: More Information


Compiling Objects in a Multi-Programmer Environment

If all the developers who use a model are not part of the same group profile, one developer cannot recompile objects created by a developer in another group. When the developer invokes the command to generate and recompile, YSBMMDLCRT, the process fails because the developer does not have the authority to delete existing objects. The *PUBLIC authority given by YSBMMDLCRT to each object in the model is only *CHANGE.

The i OS Change Command Default (CHGCMDDFT) command lets you change the default value on the YSBMMDLCRT command to allow anyone authorized to use the data model to recompile all programs in the model. Change the default value from *CHANGE to *ALL.

For example:

CHGCMDDFT  CMD(Y2SY/YSBMMDLCRT) + NEWDFT(‘AUT(*ALL)’)

Note: If you have separate LDO libraries, this command will reside in the CA 2E LDO library (Y2SYVENG).

Should you find later that you do not want to grant universal recompile privileges, you can restore the authority value to *CHANGE.

A developer can also temporarily change the authority for YSBMMDLCRT when invoking the command from the Display Services Menu. The command is stored in the Y2MSG message file in the two message IDs, Y2R0030 and Y2R0062.

  1. To invoke the command, select the Submit model create request (YSBMMDLCRT) option and press F4. A panel displays the parameters for the command.
  2. Page to the second panel to display additional parameters. Press F10.
  3. Change the PUBLIC AUTHORITY (AUT) value to *ALL.
  4. Accept the change and execute the command. Press Enter.

The new authority affects only those objects submitted while using the option. When the command finishes, the PUBLIC AUTHORITY parameter returns to the default value.