Set up public authority for new objects

The library description has a parameter called create authority (CRTAUT), which determines the public authority for new objects that are created in the library. The commands that create objects use the CRTAUT authority of the object library as the default. You should make the CRTAUT for a library the same as the public authority for the majority of existing objects in the library.

  1. Type CHGLIB library-name and press F4 (Prompt).
  2. Press F10 (Additional parameters).
  3. Enter your choice in the Create authority field.

If you set the CRTAUT to *SYSVAL, the system uses the current setting for the QCRTAUT system value when you create a new object in the library. Setting a specific CRTAUT authority for each library protects against future changes to the QCRTAUT system value.