Command reference / sec
EDTOBJAUT
Edit Object Authority
Displays the list of users authorized to an object and their authorities. Users who can add, change or remove authority are the owner, users with *ALLOBJ special authority, and users authorized to the QIBM_DB_SECADM function. Those with QIBM_DB_SECADM cannot change their own authority unless they hold the required authorities. Shown are the object name, library, owner, object type, primary group, each authorized user and their authority, and the authorization list if one secures the object. If the object has no owner name, no authorities are shown.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 2.
Restrictions
- You must have object management authority to the object to use this command.
- If the object is a file, you must have object operational and object management authorities.
- You must have *USE authority to the auxiliary storage pool device if one is specified.
Parameters
OBJ
Object
Names the object whose authorized users and authorities are shown. This is a required parameter.
*LIBL- All libraries in the thread's library list are searched until the first match.
*CURLIB- The thread's current library is searched; QGPL is used if no current library is set.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Object
Object
Library
Library
Suggested / special values:
*LIBL, *CURLIB
OBJTYPE
Object type
Names the type of the object (for example command, file or program) whose authorized users and authorities are shown. This is a required parameter.
Allowed values:
*ALRTBL, *AUTL, *BNDDIR, *CFGL, *CHTFMT, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DEVD, *DTAARA, *DTADCT, *DTAQ, *EDTD, *FCT, *FILE, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCTBL, *IGCSRT, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *M36, *M36CFG, *MEDDFN, *MENU, *MGTCOL, *MODD, *MODULE, *MSGF, *MSGQ, *NODGRP, *NODL, *NTBD, *NWID, *NWSCFG, *NWSD, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDFMAP, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *S36, *SBSD, *SCHIDX, *SPADCT, *SQLPKG, *SQLUDT, *SQLXSR, *SRVPGM, *SSND, *SVRSTG, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST
ASPDEV
ASP device
Names the ASP device where the object's library is located, if that ASP is not part of the job's library name space.
Suggested / special values:
*, *SYSBAS
*- The ASPs in the job's library name space are searched: the system ASP, basic user ASPs, and any independent ASPs in the job's ASP group.
*SYSBAS- Only the system ASP and basic user ASPs are searched; no independent ASPs.
Examples
EDTOBJAUT OBJ(ARLIB/PROG1) OBJTYPE(*PGM)
Shows the authorized users and their authorities for program PROG1 in library ARLIB, but only if the user has object management authority for it.
Generated from os/cl/catalog/EDTOBJAUT.json and os/cl/help/EDTOBJAUT.json.