ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/wrkovl.htm

173 lines
6.1 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 Overlays (WRKOVL)</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="WRKOVL.Top_Of_Page"></a>
<h2>Work with Overlays (WRKOVL)</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="#WRKOVL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKOVL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKOVL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKOVL"></a>
<p>The Work with Overlays (WRKOVL) command allows you to work with all of the overlay space objects from the system or user libraries (or both).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKOVL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKOVL.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="#WRKOVL.OVL"><b>OVL</b></a></td>
<td valign="top">Overlay</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Overlay</td>
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *USRLIBL, *ALLUSR, *ALL</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#WRKOVL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKOVL.OVL"></a>
<h3>Overlay (OVL)</h3>
<p>Specifies the overlay to work with. A specific overlay or a generic overlay can be specified.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Overlay</b>
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All overlays are worked with.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic name of the overlays to work with. A generic name can be specified as a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, all overlays that have names with the same prefix as the generic overlay name are worked with.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the overlay to work with.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched. All objects in these libraries with the specified object name are shown.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is searched for overlays to work with. If no library is specified as the current library for the job, QGPL is used.
</dd>
</dl>
<dl>
<dt><b>*USRLIBL</b></dt>
<dd>If a current library entry exists in the library list for the current thread, the current library and the libraries in the user portion of the library list are searched. If there is no current library entry, only the libraries in the user portion of the library list are searched.
</dd>
</dl>
<dl>
<dt><b>*ALLUSR</b></dt>
<dd>All user libraries are searched. All libraries with names that do not begin with the letter Q are searched except for the following:
<p>
<pre>
#CGULIB #DSULIB #SEULIB
#COBLIB #RPGLIB
#DFULIB #SDALIB
</pre>
</p>
<p>Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
</p>
<p>
<pre>
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx
QGPL QSRVAGT QUSRINFSKR
QGPL38 QSYS2 QUSRNOTES
QMGTC QSYS2xxxxx QUSROND
QMGTC2 QS36F QUSRPOSGS
QMPGDATA QUSER38 QUSRPOSSA
QMQMDATA QUSRADSM QUSRPYMSVR
QMQMPROC QUSRBRM QUSRRDARS
QPFRDATA QUSRDIRCL QUSRSYS
QRCL QUSRDIRDB QUSRVI
</pre>
</p>
<ol>
<li>'xxxxx' is the number of a primary auxiliary storage pool (ASP).
</li>
<li>A different library name, in the format QUSRVxRxMx, can be created by the user for each previous release supported by IBM to contain any user commands to be compiled in a CL program for the previous release. For the QUSRVxRxMx user library, VxRxMx is the version, release, and modification level of a previous release that IBM continues to support.
</li>
</ol>
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>All libraries in the system, including QSYS, are searched.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify a library name. Only the library named in this parameter is searched for overlays to work with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKOVL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKOVL.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
WRKOVL OVL(*LIBL/OV*)
</pre>
</p>
<p>This command searches the library list to find the overlay objects whose names begin with the letters 'OV'. All overlay objects with names beginning with 'OV' are shown on the Work with Overlays panel. If no overlay objects beginning with 'OV' exist in the library list, the WRKOVL display is shown with a message indicating that an object matching the specified name cannot be found.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKOVL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKOVL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9809</b></dt>
<dd>Library &amp;1 cannot be accessed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKOVL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>