Command reference / sec

WRKOBJPGP

Work Objects by Primary Group

The Work with Objects by Primary Group (WRKOBJPGP) command is used to manage objects for which a user is the primary group. This command displays objects for which a user is the primary group and performs the following: Edit object authority Delete the object Display object authority Rename the object Display the object's description Change the primary group of the object

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC. Positional parameters: 1.

Restrictions

Parameters

PGP Primary group

Specifies the group profile whose objects are to be worked with. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase
name
Specify the name of the group profile.

OBJTYPE Object type

Specifies which types of objects are shown. This parameter can be specified as a single value or as a list of one or more object types. To see a complete list of object types when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt). For a description of the object types, see "Object types" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.

Type
*CHAR
Required
No
Default
*ALL
Length
10
List limit
100
Case
Uppercase

Allowed values: *ALRTBL, *AUTL, *BLKSF, *BNDDIR, *CFGL, *CHRSF, *CHTFMT, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DEVD, *DIR, *DOC, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FIFO, *FILE, *FLR, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCSRT, *IGCTBL, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *MEDDFN, *MENU, *MGTCOL, *MODD, *MODULE, *MSGF, *MSGQ, *M36, *M36CFG, *NODGRP, *NODL, *NTBD, *NWID, *NWSCFG, *NWSD, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDFMAP, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SOCKET, *SPADCT, *SQLPKG, *SQLUDT, *SQLXSR, *SRVPGM, *SSND, *STMF, *SVRSTG, *SYMLNK, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST, *ALL

*ALL
All objects for which the group profile is the primary group will be shown.
object-type
Specify one or more values for the types of objects that are shown. All objects of the specified types, for which the group profile is the primary group, will be shown.

Examples

WRKOBJPGP PGP(GROUP01)

This command displays the Work with Objects by Primary Group panel, showing a list of the objects for which group profile GROUP01 is the primary group.

IBM command documentation

Generated from os/cl/catalog/WRKOBJPGP.json and os/cl/help/WRKOBJPGP.json.