449 lines
13 KiB
HTML
449 lines
13 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Work with Members Using PDM (WRKMBRPDM)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="WRKMBRPDM.Top_Of_Page"></a>
|
|
<h2>Work with Members Using PDM (WRKMBRPDM)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#WRKMBRPDM.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#WRKMBRPDM.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#WRKMBRPDM.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="WRKMBRPDM"></a>
|
|
<p>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.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="WRKMBRPDM.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#WRKMBRPDM.FILE"><b>FILE</b></a></td>
|
|
<td valign="top">File</td>
|
|
<td valign="top">Single values: <b><u>*PRV</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: File</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, *PRV, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#WRKMBRPDM.MBR"><b>MBR</b></a></td>
|
|
<td valign="top">Member</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b>, *PRV</td>
|
|
<td valign="top">Optional, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKMBRPDM.MBRTYPE"><b>MBRTYPE</b></a></td>
|
|
<td valign="top">Member type</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b>, *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</td>
|
|
<td valign="top">Optional, Positional 3</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="WRKMBRPDM.FILE"></a>
|
|
<h3>File (FILE)</h3>
|
|
<p>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.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*PRV</u></b></dt>
|
|
<dd>Work with the members of the same file that was used in your previous WRKMBRPDM session.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: File</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the physical file that contains the members you want to work with.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>Type *LIBL followed by a file name to search the current library list for the file you want to work with. If the command WRKMBRPDM FILE(file name) is used, PDM will search the library list for the file specified.
|
|
</dd>
|
|
<dt><b>*PRV</b></dt>
|
|
<dd>Work with a physical file in the same library that was used in your previous WRKMBRPDM session. You can specify a different file in the previous library by using the following format: FILE(*PRV/QRPGSRC).
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>Work with a physical file in the current library for the job. If no current library is defined, QGPL is the default value.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library that contains the file and members that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKMBRPDM.MBR"></a>
|
|
<h3>Member (MBR)</h3>
|
|
<p>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.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Work with all members in the specified file.
|
|
</dd>
|
|
<dt><b>*PRV</b></dt>
|
|
<dd>Work with the same set of members that was used in your previous WRKMBRPDM session.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the file members that you want to work with.
|
|
<p>The generic name can be in one of the following formats:
|
|
</p>
|
|
<dl>
|
|
<dt><b>ABC*</b></dt>
|
|
<dd>Displays a list of all members that begin with the characters ABC. For example, ABC, ABCD, or ABCTEST.
|
|
</dd>
|
|
<dt><b>*ABC</b></dt>
|
|
<dd>Displays a list of all members ending with the characters ABC. For example, ABC, DABC, or TESTABC.
|
|
</dd>
|
|
<dt><b>*B*</b></dt>
|
|
<dd>Displays a list of all members that have the character B anywhere in the name. For example, B, BALL, ABCD.
|
|
</dd>
|
|
<dt><b>A*C</b></dt>
|
|
<dd>Displays a list of all members that begin with the character A and end with the character C. For example, AC, ABC, or AZZZC.
|
|
</dd>
|
|
<dt><b>"a*"</b></dt>
|
|
<dd>Displays a list of all members with quoted names that start with the letter <b>a</b>. For example, "a", "aB", "aD".
|
|
</dd>
|
|
<dt><b>**ALL</b></dt>
|
|
<dd>Displays a list of all members 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 members.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the single file member that you want to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKMBRPDM.MBRTYPE"></a>
|
|
<h3>Member type (MBRTYPE)</h3>
|
|
<p>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.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Work with file members of all member types, including those with no type.
|
|
</dd>
|
|
<dt><b>*PRV</b></dt>
|
|
<dd>Work with members with the same member type that was used in your previous WRKMBRPDM session.
|
|
</dd>
|
|
<dt><b>*BLANK</b></dt>
|
|
<dd>Work with only those members with no member type value.
|
|
</dd>
|
|
<dt><b><i>member-type</i></b></dt>
|
|
<dd>Specify a member type to display a list of all members of that particular type.
|
|
<p>You can use a member type that you have created, or use one of the following standard member types used by PDM commands.
|
|
</p>
|
|
<dl>
|
|
<dt><b>BAS</b></dt>
|
|
<dd>BASIC
|
|
</dd>
|
|
<dt><b>BAS36</b></dt>
|
|
<dd>BASIC System/36
|
|
</dd>
|
|
<dt><b>BAS38</b></dt>
|
|
<dd>BASIC System/38
|
|
</dd>
|
|
<dt><b>BASP</b></dt>
|
|
<dd>BASIC Native Procedure
|
|
</dd>
|
|
<dt><b>BASP38</b></dt>
|
|
<dd>BASIC System/38 Native Procedure
|
|
</dd>
|
|
<dt><b>C</b></dt>
|
|
<dd>C Language
|
|
</dd>
|
|
<dt><b>CBL</b></dt>
|
|
<dd>COBOL
|
|
</dd>
|
|
<dt><b>CBLLE</b></dt>
|
|
<dd>Integrated Language Environment* COBOL/400
|
|
</dd>
|
|
<dt><b>CBL36</b></dt>
|
|
<dd>COBOL System/36
|
|
</dd>
|
|
<dt><b>CBL38</b></dt>
|
|
<dd>COBOL System/38
|
|
</dd>
|
|
<dt><b>CICSC</b></dt>
|
|
<dd>CICS C
|
|
</dd>
|
|
<dt><b>CICSCBL</b></dt>
|
|
<dd>CICS* COBOL
|
|
</dd>
|
|
<dt><b>CICSMAP</b></dt>
|
|
<dd>CICS Map
|
|
</dd>
|
|
<dt><b>CICSSQLCBL</b></dt>
|
|
<dd>CICS DB2/400 Query Manager COBOL
|
|
</dd>
|
|
<dt><b>CLD</b></dt>
|
|
<dd>C Locale Description
|
|
</dd>
|
|
<dt><b>CLLE</b></dt>
|
|
<dd>Control Language Integrated Language Environment*
|
|
</dd>
|
|
<dt><b>CLP</b></dt>
|
|
<dd>Control Language
|
|
</dd>
|
|
<dt><b>CLP38</b></dt>
|
|
<dd>System/38 Control Language
|
|
</dd>
|
|
<dt><b>CMD</b></dt>
|
|
<dd>Command
|
|
</dd>
|
|
<dt><b>CMD38</b></dt>
|
|
<dd>Command System/38
|
|
</dd>
|
|
<dt><b>CPP</b></dt>
|
|
<dd>C++
|
|
</dd>
|
|
<dt><b>DSPF</b></dt>
|
|
<dd>Display File
|
|
</dd>
|
|
<dt><b>DSPF36</b></dt>
|
|
<dd>Display File System/36
|
|
</dd>
|
|
<dt><b>DSPF38</b></dt>
|
|
<dd>Display File System/38
|
|
</dd>
|
|
<dt><b>FTN</b></dt>
|
|
<dd>FORTRAN/400
|
|
</dd>
|
|
<dt><b>ICFF</b></dt>
|
|
<dd>Inter-System Communications Function File
|
|
</dd>
|
|
<dt><b>LF</b></dt>
|
|
<dd>Logical File
|
|
</dd>
|
|
<dt><b>LF38</b></dt>
|
|
<dd>Logical File System/38
|
|
</dd>
|
|
<dt><b>MENU</b></dt>
|
|
<dd>UIM MENU
|
|
</dd>
|
|
<dt><b>MNU</b></dt>
|
|
<dd>Menu
|
|
</dd>
|
|
<dt><b>MNUCMD</b></dt>
|
|
<dd>Menu Command
|
|
</dd>
|
|
<dt><b>MNUDDS</b></dt>
|
|
<dd>Menu Data Description Specifications
|
|
</dd>
|
|
<dt><b>MNU36</b></dt>
|
|
<dd>Menu System/36
|
|
</dd>
|
|
<dt><b>MSGF36</b></dt>
|
|
<dd>Message File For System/36
|
|
</dd>
|
|
<dt><b>OCL36</b></dt>
|
|
<dd>System/36 Operator Control Language
|
|
</dd>
|
|
<dt><b>PAS</b></dt>
|
|
<dd>Pascal
|
|
</dd>
|
|
<dt><b>PF</b></dt>
|
|
<dd>Physical File
|
|
</dd>
|
|
<dt><b>PF38</b></dt>
|
|
<dd>Physical File System/38
|
|
</dd>
|
|
<dt><b>PLI</b></dt>
|
|
<dd>PL/I
|
|
</dd>
|
|
<dt><b>PLI38</b></dt>
|
|
<dd>PL/I System/38
|
|
</dd>
|
|
<dt><b>PNLGRP</b></dt>
|
|
<dd>Panel Group
|
|
</dd>
|
|
<dt><b>PRTF</b></dt>
|
|
<dd>Printer File
|
|
</dd>
|
|
<dt><b>PRTF38</b></dt>
|
|
<dd>Printer File System/38
|
|
</dd>
|
|
<dt><b>QRY38</b></dt>
|
|
<dd>S/38 QUERY
|
|
</dd>
|
|
<dt><b>REXX</b></dt>
|
|
<dd>Restructured Extended Executor Language
|
|
</dd>
|
|
<dt><b>RMC</b></dt>
|
|
<dd>RM/COBOL-85**
|
|
</dd>
|
|
<dt><b>RPG</b></dt>
|
|
<dd>RPG/400
|
|
</dd>
|
|
<dt><b>RPGLE</b></dt>
|
|
<dd>Integrated Language Environment RPG/400
|
|
</dd>
|
|
<dt><b>RPG36</b></dt>
|
|
<dd>RPG System/36
|
|
</dd>
|
|
<dt><b>RPG38</b></dt>
|
|
<dd>RPG System/38
|
|
</dd>
|
|
<dt><b>RPT</b></dt>
|
|
<dd>RPG Auto Report
|
|
</dd>
|
|
<dt><b>RPT36</b></dt>
|
|
<dd>RPG Auto Report System/36
|
|
</dd>
|
|
<dt><b>RPT38</b></dt>
|
|
<dd>RPG Auto Report System/38
|
|
</dd>
|
|
<dt><b>SPADCT</b></dt>
|
|
<dd>Spelling Aid Dictionary
|
|
</dd>
|
|
<dt><b>SQLC</b></dt>
|
|
<dd>DB2/400 Query Manager C
|
|
</dd>
|
|
<dt><b>SQLCPP</b></dt>
|
|
<dd>DB2/400 Query Manager C++
|
|
</dd>
|
|
<dt><b>SQLCBL</b></dt>
|
|
<dd>DB2/400 Query Manager COBOL
|
|
</dd>
|
|
<dt><b>SQLCBLLE</b></dt>
|
|
<dd>DB2/400 Query Manager Integrated Language Environment COBOL/400
|
|
</dd>
|
|
<dt><b>SQLCLE</b></dt>
|
|
<dd>DB2/400 Query Manager C/400 Integrated Language Environment
|
|
</dd>
|
|
<dt><b>SQLFTN</b></dt>
|
|
<dd>DB2/400 Query Manager FORTRAN
|
|
</dd>
|
|
<dt><b>SQLPLI</b></dt>
|
|
<dd>DB2/400 Query Manager PL/I
|
|
</dd>
|
|
<dt><b>SQLRPG</b></dt>
|
|
<dd>DB2/400 Query Manager RPG
|
|
</dd>
|
|
<dt><b>SQLRPGLE</b></dt>
|
|
<dd>DB2/400 Query Manager Integrated Language Environment RPG/400
|
|
</dd>
|
|
<dt><b>TBL</b></dt>
|
|
<dd>Table
|
|
</dd>
|
|
<dt><b>TXT</b></dt>
|
|
<dd>Text
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b><i>generic-member-type</i></b></dt>
|
|
<dd>Specify the generic member type of the file members that you want to work with.
|
|
<p>The generic member type can be in one of the following typical formats:
|
|
</p>
|
|
<dl>
|
|
<dt><b>RPG*</b></dt>
|
|
<dd>Displays a list of all members whose member type begins with the characters RPG. For example, RPG, RPG36, and RPG38.
|
|
</dd>
|
|
<dt><b>*C</b></dt>
|
|
<dd>Displays a list of all members whose member type ends with the character C. For example, C and SQLC.
|
|
</dd>
|
|
<dt><b>*I*</b></dt>
|
|
<dd>Displays a list of all members that have the character I anywhere in the member type. For example, ICFF, PLI, PLI38, and SQLPLI.
|
|
</dd>
|
|
<dt><b>R*36</b></dt>
|
|
<dd>Displays a list of all members whose member type begins with the character R and ends with the characters 36. For example, RPG36 and RPT36.
|
|
</dd>
|
|
<dt><b>"a*"</b></dt>
|
|
<dd>Displays a list of all members with quoted member types that start with the letter <b>a</b>. For example, "a", "aB", "aD".
|
|
</dd>
|
|
<dt><b>**ALL</b></dt>
|
|
<dd>Displays a list of all members whose member 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 a list of members with all member types.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKMBRPDM.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Work with All Members in a File</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKMBRPDM FILE(*PRV) MBR('*ALL')
|
|
</pre>
|
|
</p>
|
|
<p>This command allows you to work with all of the members of the same file you worked with in the previous WRKMBRPDM session.
|
|
</p>
|
|
<p><b>Example 2: Work with Members of One Type</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKMBRPDM FILE(*LIBL/MYSRCFILE) MBRTYPE('CLP')
|
|
</pre>
|
|
</p>
|
|
<p>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.
|
|
</p>
|
|
<p><b>Example 3: Work with a Members by Generic Name</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKMBRPDM FILE(MYLIB/MYSRCFILE) MBR('PAY*')
|
|
</pre>
|
|
</p>
|
|
<p>This command allows you to work with all members of source file MYSRCFILE in library MYLIB with member names that begin with the letters <b>PAY</b>.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKMBRPDM.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>PDM0055</b></dt>
|
|
<dd>Error while processing the &1 command.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKMBRPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|