114 lines
6.4 KiB
HTML
114 lines
6.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="When saving objects from the QSYS.LIB file system" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu148.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaiu156" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>When saving objects from the QSYS.LIB file system</title>
|
|
</head>
|
|
<body id="rzaiu156"><a name="rzaiu156"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">When saving objects from the QSYS.LIB file system</h1>
|
|
<div><div class="section"><p id="rzaiu156__svrstb"><a name="rzaiu156__svrstb"><!-- --></a> When you use the SAV command to save objects from
|
|
the QSYS.LIB (library) file system; the following restrictions apply: </p>
|
|
</div>
|
|
<div class="section"> <ul><li>The OBJ parameter must have only one name.</li>
|
|
<li>The OBJ parameter must match the way that you can specify objects on the
|
|
SAVLIB command and the SAVOBJ command: <ul><li>You can save a library: <samp class="codeph">OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB')</samp></li>
|
|
<li>You can save all the objects in a library: <samp class="codeph">OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/*')</samp></li>
|
|
<li>You can save all objects of a particular type in a library: <samp class="codeph">OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/*.<span class="synph"><span class="var">object-type</span></span>')</samp></li>
|
|
<li>You can save a specific object name and object type in a library: <pre>OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/<span class="synph"><span class="var">object-name</span></span>.<span class="synph"><span class="var">object-type</span></span>')</pre>
|
|
</li>
|
|
<li>You can save all the members in a file by using either of the following:
|
|
<ul><li><samp class="codeph">OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/<span class="synph"><span class="var">file-name</span></span>.FILE/*')</samp></li>
|
|
<li><samp class="codeph">OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/<span class="synph"><span class="var">file-name</span></span>.FILE/*.MBR')</samp> <pre></pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>You can save a specific member in a file: <pre>OBJ('/QSYS.LIB/<span class="synph"><span class="var">library-name</span></span>.LIB/
|
|
<span class="synph"><span class="var">file-name</span></span>.FILE/<span class="synph"><span class="var">member-name</span></span>.MBR')</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>You can specify only the object types that the SAVOBJ command allows.
|
|
For example, you cannot use the SAV command to save user profiles, because
|
|
the SAVOBJ command does not allow OBJTYPE(*USRPRF).</li>
|
|
<li>You cannot save some libraries in the QSYS.LIB file system with the SAVLIB
|
|
command because of the type of information that they contain. Following are
|
|
examples: <ul><li>The QDOC library, because it contains documents</li>
|
|
<li>The QSYS library, because it contains system objects.</li>
|
|
</ul>
|
|
You cannot use the SAV command to save these entire libraries:
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="90%" frame="hsides" border="0" rules="none"><tbody><tr><td align="left" valign="top" width="25.462962962962965%">QDOC</td>
|
|
<td align="left" valign="top" width="19.753086419753085%">QRPLOBJ</td>
|
|
<td align="left" valign="top" width="54.78395061728395%">QSYS</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="25.462962962962965%">QDOCxxxx<sup>1</sup></td>
|
|
<td align="left" valign="top" width="19.753086419753085%">QRPLxxxxx<sup>2</sup></td>
|
|
<td valign="top" width="54.78395061728395%">QSYSxxxxx<sup>2</sup></td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="25.462962962962965%">QRECOVERY</td>
|
|
<td align="left" valign="top" width="19.753086419753085%">QSRV</td>
|
|
<td valign="top" width="54.78395061728395%">QTEMP</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="25.462962962962965%">QRCYxxxxx<sup>2</sup></td>
|
|
<td align="left" valign="top" width="19.753086419753085%">QSPL</td>
|
|
<td valign="top" width="54.78395061728395%">QSPLxxxx<sup>3</sup></td>
|
|
</tr>
|
|
<tr><td colspan="3" align="left" valign="top"> <dl><dt class="dlterm"><sup>1</sup> </dt>
|
|
<dd>Where xxxx is a value from 0002 to 0032, corresponding to an ASP.</dd>
|
|
<dt class="dlterm"><sup>2</sup></dt>
|
|
<dd>Where xxxxx is a value from 00033 to 00255, corresponding to an independent
|
|
ASP.</dd>
|
|
<dt class="dlterm"><sup>3</sup></dt>
|
|
<dd>Where xxxxx is a value from 0002 to 0255, corresponding to
|
|
an ASP.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li>
|
|
<li>Other parameters must have these values: <dl><dt class="dlterm">SUBTREE</dt>
|
|
<dd>*ALL</dd>
|
|
<dt class="dlterm">SYSTEM</dt>
|
|
<dd>*LCL</dd>
|
|
<dt class="dlterm">OUTPUT</dt>
|
|
<dd>*NONE</dd>
|
|
<dt class="dlterm">CHGPERIOD</dt>
|
|
<dd> <ul><li>Start date cannot be *LASTSAVE</li>
|
|
<li>End date must be *ALL </li>
|
|
<li>End time must be *ALL</li>
|
|
<li>Default, if you specify a file member</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu148.htm">Save file systems</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |