Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Members Using PDM (WRKMBRPDM) command enables you to work with a list of members in one database file. Using this command, you can bypass the Programming Development Manager (PDM) menu and the Specify Members to Work With display.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | File | Single values: *PRV Other values: Qualified object name |
Optional, Positional 1 |
Qualifier 1: File | Name | ||
Qualifier 2: Library | Name, *PRV, *LIBL, *CURLIB | ||
MBR | Member | Character value, *ALL, *PRV | Optional, Positional 2 |
MBRTYPE | Member type | Character value, *ALL, *PRV, *BLANK, BAS, BAS36, BAS38, BASP, BASP38, C, CBL, CBLLE, CBL36, CBL38, CICSC, CICSCBL, CICSCBLLE, CICSMAP, CICSSQLCBL, CLD, CLLE, CLP, CLP38, CMD, CMD38, CPP, DSPF, DSPF36, DSPF38, FTN, ICFF, LF, LF38, MENU, MNU, MNUCMD, MNUDDS, MNU36, MSGF36, OCL36, PAS, PF, PF38, PLI, PLI38, PNLGRP, PRTF, PRTF38, QRY38, REXX, RMC, RPG, RPGLE, RPG36, RPG38, RPT, RPT36, RPT38, SPADCT, SQLC, SQLCPP, SQLCBL, SQLCBLLE, SQLFTN, SQLPLI, SQLRPG, SQLRPGLE, TBL, TXT | Optional, Positional 3 |
Top |
Specifies the database file that contains the members you want to work with. The file can be a source physical file or a data physical file.
Single values
Qualifier 1: File
Qualifier 2: Library
Top |
Specifies the member or members you want to work with. You can use this parameter to work with all the members or a subset of members in the specified file.
The generic name can be in one of the following formats:
Top |
Specifies the member type for members you want to work with. You can use this parameter to work with all the member types in a specified file or a subset of members which matches a specific or generic member type.
You can use a member type that you have created, or use one of the following standard member types used by PDM commands.
The generic member type can be in one of the following typical formats:
Top |
Example 1: Work with All Members in a File
WRKMBRPDM FILE(*PRV) MBR('*ALL')
This command allows you to work with all of the members of the same file you worked with in the previous WRKMBRPDM session.
Example 2: Work with Members of One Type
WRKMBRPDM FILE(*LIBL/MYSRCFILE) MBRTYPE('CLP')
This command allows you to work with all members of source file MYSRCFILE that have a member type of CLP (Control Language Program). The source file is located using the job library list.
Example 3: Work with a Members by Generic Name
WRKMBRPDM FILE(MYLIB/MYSRCFILE) MBR('PAY*')
This command allows you to work with all members of source file MYSRCFILE in library MYLIB with member names that begin with the letters PAY.
Top |
Top |