200 lines
8.3 KiB
HTML
200 lines
8.3 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 Libraries Using PDM (WRKLIBPDM)</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="WRKLIBPDM.Top_Of_Page"></a>
|
|
<h2>Work with Libraries Using PDM (WRKLIBPDM)</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="#WRKLIBPDM.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#WRKLIBPDM.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#WRKLIBPDM.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="WRKLIBPDM"></a>
|
|
<p>The Work with Libraries Using PDM (WRKLIBPDM) command enables you to work with a single library or multiple libraries. Using this command, you can bypass the Programming Development Manager (PDM) menu and the Specify Libraries to Work With display.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="WRKLIBPDM.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"><a href="#WRKLIBPDM.LIB"><b>LIB</b></a></td>
|
|
<td valign="top">Library</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*PRV</u></b>, *LIBL, *USRLIBL, *ALL, *ALLUSR, *CURLIB</td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKLIBPDM.ASP"><b>ASP</b></a></td>
|
|
<td valign="top">ASP number</td>
|
|
<td valign="top">1-32, <b><u>*ALL</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKLIBPDM.ASPDEV"><b>ASPDEV</b></a></td>
|
|
<td valign="top">ASP device</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*</u></b>, *SYSBAS, *CURASPGRP</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="WRKLIBPDM.LIB"></a>
|
|
<h3>Library (LIB)</h3>
|
|
<p>Specifies the libraries to work with.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*PRV</u></b></dt>
|
|
<dd>Work with the same library or libraries that you worked with in your previous WRKLIBPDM session.
|
|
</dd>
|
|
<dt><b>*LIBL</b></dt>
|
|
<dd>Work with all of the libraries in the job's library list.
|
|
</dd>
|
|
<dt><b>*USRLIBL</b></dt>
|
|
<dd>Work with all libraries in the user portion of the job's library list.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>Work with all libraries on the system, including QSYS and QTEMP.
|
|
</dd>
|
|
<dt><b>*ALLUSR</b></dt>
|
|
<dd>Work with all non-system libraries, including all user libraries. The libraries are listed alphabetically by library name.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>Work with the current library for the job. If you have not specified a current library for the job, library QGPL is assumed.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the libraries 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 libraries that begin with the characters ABC. For example, ABC, ABCD, or ABCTEST.
|
|
</dd>
|
|
<dt><b>*ABC</b></dt>
|
|
<dd>Displays a list of all libraries ending with the characters ABC. For example, ABC, DABC, or TESTABC.
|
|
</dd>
|
|
<dt><b>*B*</b></dt>
|
|
<dd>Displays a list of all libraries 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 libraries 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 libraries 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 libraries 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 libraries.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the single library to work with.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKLIBPDM.ASP"></a>
|
|
<h3>ASP number (LIB)</h3>
|
|
<p>Specifies the auxiliary storage pool (ASP) for the libraries that should be shown on the Work with Libraries display. This parameter is ignored when a value of *LIBL, *CURLIB or *USRLIBL is entered for the library parameter. If a number is specified for this parameter, the ASP device (ASPDEV) parameter value must be *.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All ASPs defined by the value for the ASP device (ASPDEV) parameter will be searched.
|
|
</dd>
|
|
<dt><b>1-32</b></dt>
|
|
<dd>Specify the number of the system or basic user ASP to be searched. ASP 1 is the system ASP, which is always configured. Basic user ASPs are 2-32, and must designate an ASP that is configured on the system. For information on configuring an ASP, see the Backup and Recovery book, SC41-5304.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKLIBPDM.ASPDEV"></a>
|
|
<h3>ASP device (LIB)</h3>
|
|
<p>Specifies the auxiliary storage pool (ASP) device name where storage for the library being displayed is allocated. If the library is in an ASP that is not part of the thread's library name space, this parameter must be specified to ensure the correct library is displayed. If a number is specified for the ASP number (ASP) parameter, the ASPDEV parameter value must be *.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*</b></dt>
|
|
<dd>The ASPs that are currently part of the thread's library name space will be searched to find the library. This includes the system ASP (ASP 1), all defined basic user ASPs (ASPs 2-32), and, if the thread has an ASP group, the primary and secondary ASPs in the thread's ASP group.
|
|
</dd>
|
|
<dt><b>*SYSBAS</b></dt>
|
|
<dd>The system ASP (ASP 1) and all defined basic user ASPs (ASPs 2-32) will be searched to find the library. No primary or secondary ASPs will be searched, even if the thread has an ASP group.
|
|
</dd>
|
|
<dt><b>*CURASPGRP</b></dt>
|
|
<dd>If the thread has an ASP group, the primary and secondary ASPs in the thread's ASP group will be searched to find the library. The system ASP (ASP 1) and defined basic user ASPs (ASPs 2-32) will not be searched. If no ASP group is associated with the thread an error will be issued.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the device name of the primary or secondary ASP to be searched. The primary or secondary ASP must have been activated (by varying on the ASP device) and have a status of 'Available'. The system ASP (ASP 1) and configured basic user ASPs (ASPs 2-32) will not be searched.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKLIBPDM.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Work with Libraries in Job Library List</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKLIBPDM LIB('*LIBL')
|
|
</pre>
|
|
</p>
|
|
<p>This command allows you to work with all of the libraries that are in the library list of the current job. The libraries are listed in the same order as the library list.
|
|
</p>
|
|
<p><b>Example 2: Work with a Generic Set of Libraries</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKLIBPDM LIB('*PAY*')
|
|
</pre>
|
|
</p>
|
|
<p>This command allows you to work with the subset of libraries that contain the letters <b>PAY</b> in the library name. The libraries are listed in alphabetical order.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKLIBPDM.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="#WRKLIBPDM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|