Assigning authority and ownership to new objects
You can assign authority and ownership to new objects on the system.
The system uses several values to assign authority and ownership
when a new object is created on the system:
- Parameters on the CRTxxx command
- The QCRTAUT system value
- The CRTAUT value of the library
- Values in the user profile of the creator
- QCRTAUT system value:
- *CHANGE
- CRTAUT library parameter:
- *USE
Values in USERA (Creator) Profile:
- GRPPRF:
- DPT806
- OWNER:
- *USRPRF
- GRPAUT:
- *CHANGE
- GRPAUTTYP:
- *PRIVATE
Command Used to Create Object:
CRTDTAARA DTAARA(CUSTLIB/DTA1)
TYPE(*CHAR) AUT(*LIBCRTAUT)
or
CRTDTAARA DTAARA(CUSTLIB/DTA1)
TYPE(*CHAR)
Values for New Object:
- Public authority:
- *USE
- Owner authority:
- USERA *ALL
- Primary group authority:
- None
- Private authority:
- DPT806 *CHANGE
Note:
*LIBCRTAUT is the default value for the AUT
parameter on most CRTxxx commands.
parameter on most CRTxxx commands.
- QCRTAUT system value:
- *CHANGE
- CRTAUT library parameter:
- *SYSVAL
Values in USERA (Creator) Profile:
- GRPPRF:
- DPT806
- OWNER:
- *USRPRF
- GRPAUT:
- *CHANGE
- GRPAUTTYP:
- *PRIVATE
Command Used to Create Object:
CRTDTAARA DTAARA(CUSTLIB/DTA1)
TYPE(*CHAR) AUT(*LIBCRTAUT)
Values for New Object:
- Public authority:
- *CHANGE
- Owner authority:
- USERA *ALL
- Primary group authority:
- None
- Private authority:
- DPT806 *CHANGE
- QCRTAUT system value:
- *CHANGE
- CRTAUT library parameter:
- *USE
Values in USERA (Creator) Profile:
- GRPPRF:
- DPT806
- OWNER:
- *USRPRF
- GRPAUT:
- *CHANGE
- GRPAUTTYP:
- *PGP
Command Used to Create Object:
CRTDTAARA DTAARA(CUSTLIB/DTA1)
TYPE(*CHAR) AUT(*LIBCRTAUT)
Values for New Object:
- Public authority:
- *USE
- Owner authority:
- USERA *ALL
- Primary group authority:
- DPT806 *CHANGE
- Private authority:
- None
- QCRTAUT system value:
- *CHANGE
- CRTAUT library parameter:
- *USE
Values in USERA (Creator) Profile:
- GRPPRF:
- DPT806
- OWNER:
- *GRPPRF
- GRPAUT:
- GRPAUTTYP:
Command Used to Create Object:
CRTDTAARA DTAARA(CUSTLIB/DTA1)
TYPE(*CHAR) AUT(*CHANGE)
Values for New Object:
- Public authority:
- *CHANGE
- Owner authority:
- DPT806 *ALL
- Primary group authority:
- None
- Private authority:
- None