ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/liblist.htm

126 lines
3.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>liblist - Manage library list</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<!-- ======== Start Revision 1 ======== -->
<h2>liblist - Manage library list</h2>
<strong>Synopsis</strong>
<p><strong>liblist [ -acdfl ]</strong> [ <em>library</em> ... ]</p>
<p><strong>Description</strong></p>
<p>You can use <strong>liblist</strong> to add or delete a library
from the user portion of the library list, set the current library,
or display the library list for the current job.</p>
<p>You can add libraries to the user portion of the library list by
specifying the <strong>-a</strong> option and a list of libraries.
By default, the libraries are added to user portion of the
beginning of the library list.</p>
<p>You can remove libraries from the user portion of the library
list by specifying the <strong>-d</strong> option and a list of
libraries.</p>
<p>The current library is set to <em>library</em> when the <strong>
-c</strong> option is specified. The current library can be unset
by specifying both the <strong>-c</strong> and <strong>-d</strong>
options.</p>
<p>When no arguments are specified, <strong>qsh</strong> displays
the current library list. Each line in the output includes the
library name and the type of the library. A library can be one of
the following types:</p>
<ul>
<li>SYS for a library in the system portion of the library
list.</li>
<li>PRD for a library in the product portion of the library
list.</li>
<li>CUR for the current library.</li>
<li>USR for a library in the user portion of the library list.</li>
</ul>
<p><strong>Options</strong></p>
<dl>
<dt><strong>-a</strong></dt>
<dd>Add <em>library</em> to the user portion of the library
list.</dd>
<dt><strong>-c</strong></dt>
<dd>Set the current library to <em>library</em>.</dd>
<dt><strong>-d</strong></dt>
<dd>Remove <em>library</em> from the user portion of the library
list or unset the current library if the <strong>-c</strong> option
is also specified.</dd>
<dt><strong>-f</strong></dt>
<dd>When the <strong>-a</strong> option is specified, add <em>
library</em> to the beginning of the user portion of the library
list.</dd>
<dt><strong>-l</strong></dt>
<dd>When the <strong>-a</strong> option is specified, add <em>
library</em> to the end of the user portion of the library
list.</dd>
</dl>
<p><strong>Operands</strong></p>
<p>Each <em>library</em> is a library to either add or delete from
the user portion of the library list depending on the options
specified.</p>
<p><strong>Exit Status</strong></p>
<ul>
<li>0 when successful.</li>
<li>&gt;0 when unsuccessful.</li>
</ul>
<strong>Examples</strong>
<ol>
<li>Add the library MYLIB to the library list: <strong>
liblist</strong> -a MYLIB</li>
<li>Remove the library MYLIB from the library list: <strong>
liblist</strong> -d MYLIB</li>
<li>Set the current library to MYLIB: <strong>liblist</strong> -c
MYLIB</li>
<li>Unset the current library: <strong>liblist</strong> -cd</li>
<li>Display the library list: <strong>liblist</strong></li>
</ol>
<!-- ======== End Revision 1 ======== -->
</body>
</html>