Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Objects Using PDM (WRKOBJPDM) command enables you to work with a list of objects in one library. Using this command, you can bypass the Programming Development Manager (PDM) menu and the Specify Objects to Work With display.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LIB | Library | Name, *PRV, *CURLIB | Optional, Positional 1 |
OBJ | Object | Character value, *ALL, *PRV | Optional, Positional 2 |
OBJTYPE | Object type | *ALL, *PRV, *ALRTBL, *AUTL, *BNDDIR, *CFGL, *CHTFMT, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DEVD, *DOC, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FILE, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCSRT, *IGCTBL, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *M36, *M36CFG, *MEDDFN, *MENU, *MGTCOL, *MODD, *MODULE, *MSGF, *MSGQ, *NODGRP, *NODL, *NTBD, *NWID, *NWSD, *NWSCFG, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDFMAP, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SPADCT, *SQLPKG, *SQLUDT, *SRVPGM, *SSND, *SVRSTG, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST | Optional, Positional 3 |
OBJATR | Object attribute | Character value, *ALL, *PRV, *BLANK, BAS, BAS36, BAS38, BSCF38, C, CBL, CBL36, CBL38, CLE, CLP, CLP38, CMD, CMD38, CMNF38, CSPAE, DDMF, DFU, DFUEXEC, DFUNOTEXC, DKTF, DSPF, DSPF36, DSPF38, FTN, ICFF, LF, LF38, MXDF38, PAS, 'PF-DTA', 'PF-SRC', PF38, PLI, PLI38, PRTF, PRTF38, QRY38, RMC, RPG, RPG36, RPG38, RPT, RPT36, RPT38, SAVF, SPADCT, SQLC, SQLCBL, SQLCLE, SQLFTN, SQLPLI, SQLRPG, TAPF, TBL | Optional |
Top |
Specifies the library that contains the objects you want to work with.
Top |
Specifies the objects you want to work with. You can use this parameter to work with all the objects or a subset of objects in the specified library.
The generic name can be in one of the following formats:
Top |
Specifies the object type for objects you want to work with. You can use this parameter to work with all object types or a subset of objects.
You can choose from the following object types:
Top |
Specifies the object attribute for objects you want to work with. You can use this parameter to work with a subset of objects that match the object name and object type values specified for the Object (OBJ) and Object type (OBJTYPE) parameters.
You can choose from the following object attribute values:
The generic value can be in one of the following formats:
Top |
Example 1: Work with All Objects in a Library
WRKOBJPDM LIB(MYLIB) OBJ('*ALL')
This command allows you to work with all of the objects in library MYLIB.
Example 2: Work with Objects of One Type
WRKOBJPDM LIB(*PRV) OBJ('*ALL') OBJTYPE(*CMD)
This command allows you to work with all command (*CMD) objects in the same library you worked with in the previous WRKOBJPDM session.
Top |
Top |