Command reference / db

WRKMBRPDM

Work with Members Using PDM

Lets you work with a list of members in one database file. It lets you bypass the Programming Development Manager (PDM) menu and the Specify Members to Work With display.

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

Parameters

FILE File

Specifies the database file that contains the members to work with. The file can be a source physical file or a data physical file.

Type
*QUAL
Required
No
Case
Uppercase
*PRV
Works with the same file used in your previous WRKMBRPDM session.
*LIBL
Searches the current library list for the file (qualifier 2 value).
*CURLIB
Works with a physical file in the current library for the job; QGPL if no current library is defined (qualifier 2 value).
Qualified parts (object, then library; write LIBRARY/OBJECT)

File File

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *PRV, *CURLIB

MBR Member

Specifies the member or members to work with: all members, the same set as the previous session, a generic name, or a single member name.

Type
*CHAR
Required
No
Default
*ALL
Length
50
Case
Uppercase

Suggested / special values: *ALL, *PRV

*ALL
Works with all members in the specified file.
*PRV
Works with the same set of members used in your previous WRKMBRPDM session.

MBRTYPE Member type

Specifies the member type of the members to work with. You can work with all member types, or a subset matching a specific or generic member type.

Type
*CHAR
Required
No
Default
*ALL
Length
50
Case
Uppercase

Suggested / special values: *ALL, *PRV, *BLANK

*ALL
Works with members of all member types, including those with no type.
*PRV
Works with the same member type used in your previous WRKMBRPDM session.
*BLANK
Works only with members that have no member type value.

Examples

WRKMBRPDM FILE(*LIBL/MYSRCFILE) MBRTYPE('CLP')

Works with all members of source file MYSRCFILE with member type CLP (Control Language Program); the file is located using the job library list.

IBM command documentation

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