Work with Objects Using PDM (WRKOBJPDM)

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.

Parameters

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, *SQLXSR, *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

Library (LIB)

Specifies the library that contains the objects you want to work with.

*PRV
The library that was used in your previous WRKOBJPDM session will be used.
*CURLIB
The current library for the job will be used. If no current library is defined, library QGPL will be used.
name
Specify the name of the library that contains the objects you want to work with.

Object (OBJ)

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.

*ALL
Work with all objects in the library specified for the Library (LIB) parameter. You can subset the list of objects by specifying a value other than *ALL for the Object type (OBJTYPE) and Object attribute (OBJATR) parameters.
*PRV
Work with the same object or objects that you worked with in your previous WRKOBJPDM session.
generic-name
Specify the generic name of the objects to work with.

The generic name can be in one of the following formats:

ABC*
Displays a list of all objects that begin with the characters ABC. For example, ABC, ABCD, or ABCTEST.
*ABC
Displays a list of all objects ending with the characters ABC. For example, ABC, DABC, or TESTABC.
*B*
Displays a list of all objects that have the character B anywhere in the name. For example, B, BALL, ABCD.
A*C
Displays a list of all objects that begin with the character A and end with the character C. For example, AC, ABC, or AZZZC.
"a*"
Displays a list of all objects with quoted names that start with the letter a. For example, "a", "aB", "aD".
**ALL
Displays a list of all objects ending with ALL. For example, ALL, BALL, or TESTALL. The double asterisk is needed in this case, since *ALL is defined as the special value to display a list of all objects.
name
Specify the name of the object or objects to work with. Multiple objects will be listed if there are objects with different object types with this name and *ALL is specified for the OBJTYPE parameter.

Object type (OBJTYPE)

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.

*ALL
Work with objects that match the object name specified for the Object (OBJ) parameter.
*PRV
Work with objects that are the same object type you worked with in your previous WRKOBJPDM session.
object-type
Specify the system object type of object you want to work with.

You can choose from the following object types:

*ALRTBL
Alert Table
*AUTL
Authorization List
*BNDDIR
Binding Directory
*CFGL
Configuration List
*CHTFMT
Chart Format
*CLD
C Locale Description
*CLS
Class
*CMD
Command
*CNNL
Connection List
*COSD
Class of Service Definition
*CRG
Cluster Resource Group
*CRQD
Change Request Description
*CSI
Communication Side Information
*CSPMAP
Cross-System Product Map
*CSPTBL
Cross-System Product Table
*CTLD
Control Description
*DEVD
Device Description
*DOC
Document
*DTAARA
Data Area
*DTADCT
Data Dictionary
*DTAQ
Data Queue
*EDTD
Edit Description
*EXITRG
Exit Registration
*FCT
Forms Control Table
*FILE
File
*FNTRSC
Font Resource
*FNTTBL
Font Mapping Table
*FORMDF
Form Definition
*FTR
Filter
*GSS
Graphic Symbol Set
*IGCDCT
Ideographic Character Dictionary
*IGCSRT
Ideographic Character Sort
*IGCTBL
Ideographic Character Table
*IMGCLG
Optical Image Catalog
*IPXD
Internet Packet Exchange Description
*JOBD
Job Description
*JOBQ
Job Queue
*JOBSCD
Job Schedule
*JRN
Journal
*JRNRCV
Journal Receiver
*LIB
Library
*LIND
Line Description
*LOCALE
Locale Space
*M36
Advanced 36 Machine
*M36CFG
Advanced 36 Machine Configuration
*MEDDFN
Media Definition
*MENU
Menu
*MGTCOL
Management Collection
*MODD
Mode Description
*MODULE
Module
*MSGF
Message File
*MSGQ
Message Queue
*NODGRP
Node Group
*NODL
Node List
*NTBD
NetBIOS Configuration Data
*NWID
Network Interface Description
*NWSCFG
Network Server Configuration
*NWSD
Network Server Description
*OUTQ
Output
*OVL
Overlay
*PAGDFN
Page Definition
*PAGSEG
Page Segment
*PDFMAP
Portable Document Format Map
*PDG
Print Manager CPI: Logical Print Descriptor
*PGM
Program
*PNLGRP
Panel Group
*PRDAVL
Product Availability
*PRDDFN
Product Definition
*PRDLOD
Product Load
*PSFCFG
Print Services Facility Configuration
*QMFORM
Query Manager Form
*QMQRY
Query Manager Query
*QRYDFN
Query Definition
*RCT
Remote Control Table
*SBSD
Subsystem Description
*SCHIDX
Search Index
*SPADCT
Spelling Aid Dictionary
*SQLPKG
DB2 Query Manager Package
*SQLUDT
SQL User Defined Type
*SQLXSR
SQL XML Schema Repository
*SRVPGM
Service Program
*SSND
Session Description
*SVRSTG
Server Storage Space
*S36
System/36 Machine Description
*TBL
Table
*TIMZON
Time Zone Description
*USRIDX
User Index
*USRPRF
User Profile
*USRQ
User Queue
*USRSPC
User Space
*VLDL
Validation List
*WSCST
Workstation User Customization

Object attribute (OBJATR)

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.

*ALL
Work with all objects that match the values specified for the OBJ and OBJTYPE parameters.
*PRV
Work with objects that have the same object attribute you worked with in your previous WRKOBJPDM session.
*BLANK
Work with all objects that have no attribute value.
value
Specify the object attribute of objects you want to work with. If you specify an object attribute, you do not have to specify the object type.

You can choose from the following object attribute values:

BAS
BASIC
BAS36
BASIC System/36
BAS38
BASIC System/38
BSCF38
Binary Synchronous Communication File System/38
C
C Language
CBL
COBOL
CBLLE
Integrated Language Environment COBOL
CBL36
COBOL System/36
CBL38
COBOL System/38
CLLE
Control Language Integrated Language Environment
CLP
Control Language
CLP38
Control Language System/38
CMD
Command
CMD38
Command System/38
CMNF38
Communications File
CSPAE
Cross-System Product Application Execution
DDMF
Distributed Data Management
DFU
Data File Utility
DFUEXEC
Data File Utility Executable File
DFUNOTEXC
Data File Utility Non-Executable File
DKTF
Diskette File
DSPF
Display File
DSPF36
Display File System/36
DSPF38
Display File System/38
FTN
FORTRAN/400
ICFF
Inter-System Communications Function File
LF
Logical File
LF38
Logical File System/38
MXDF38
Mixed File System/38
PAS
Pascal
PF-DTA
Physical File - Data
PF-SRC
Physical File - Source
PF38
Physical File System/38
PLI
PL/I
PLI38
PL/I System/38
PRTF
Printer File
PRTF38
Printer File System/38
QRY38
System/38 QUERY
RMC
RM/COBOL-85**
RPG
RPG/400
RPGLE
Integrated Language Environment RPG
RPG36
RPG System/36
RPG38
RPG System/38
RPT
RPG Auto Report
RPT36
RPG Auto Report System/36
RPT38
RPG Auto Report System/38
SAVF
Save File
SPADCT
Spelling Aid Dictionary
SQLC
DB2 Query Manager C
SQLCBL
DB2 Query Manager COBOL
SQLCBLLE
DB2 Query Manager Integrated Language Environment COBOL
SQLFTN
DB2 Query Manager FORTRAN
SQLPLI
DB2 Query Manager PL/I
SQLRPG
DB2 Query Manager RPG
SQLRPGLE
DB2 Query Manager Integrated Language Environment RPG
TAPF
Tape File
TBL
Table
generic-value
Specify the generic attribute of the objects to work with.

The generic value can be in one of the following formats:

RPG*
Displays a list of all objects whose attribute type begins with the characters RPG. For example, RPG, RPG36, and RPG38.
*C
Displays a list of all objects whose attribute type ends with the character C. For example, C and SQLC.
*I*
Displays a list of all objects that have the character I anywhere in the attribute type. For example, ICFF, PLI, PLI38, and SQLPLI.
P*38
Displays a list of all objects whose attribute type begins with the character P and ends with the characters 38. For example, PLI38 and PRTF38.
"a*"
Displays a list of all objects whose attribute type contains the letter a within quotation marks. For example, "a", "aB", "aD".
**ALL
Displays a list of all objects whose attribute type ends with ALL. For example, ALL, BALL, or TESTALL. The double asterisk is needed in this case, since *ALL is defined as the special value to display objects regardless of the object attribute.

Examples

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.

Error messages

*ESCAPE Messages

PDM0055
Error while processing the &1 command.