817 lines
32 KiB
HTML
817 lines
32 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>Restore Configuration (RSTCFG)</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="RSTCFG.Top_Of_Page"></a>
|
|
<h2>Restore Configuration (RSTCFG)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#RSTCFG.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#RSTCFG.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#RSTCFG.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="RSTCFG"></a>
|
|
<p>The Restore Configuration (RSTCFG) command restores to the system a configuration object that was saved by the Save System (SAVSYS) or Save Configuration (SAVCFG) command. The types of objects that can be restored by this command are listed on the <b>Object types (OBJTYPE)</b> parameter. The QDFTOWN user profile becomes the default owner of any objects restored on the system whose owner is not known to the system. If an object already exists in the library to which that object is restored, the public and private authorities of the existing object are kept. If the object does not exist in the library, all public authorities are restored, but any private authorities must be given again.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>You must have save system (*SAVSYS) special authority, or have object existence (*OBJEXIST) authority for (or be the owner of) each object specified if the object already exists on the system.
|
|
</li>
|
|
<li>This command is shipped with no public authority (*EXCLUDE).
|
|
</li>
|
|
<li>The device configuration object must be varied off when it is being restored. To vary off a device configuration object, use the Vary Configuration (VRYCFG) command.
|
|
</li>
|
|
<li>With the exception of overrides for the output listing file, this command ignores all file overrides currently in effect for the job.
|
|
</li>
|
|
<li>System resource management (SRM) objects are not restored if the RSTCFG command is run using media that was created prior to V2R2M0.
|
|
</li>
|
|
<li>If the RSTCFG command and the SAVSYS or SAVCFG commands are not run on the same system, the configuration objects may not match the physical hardware on the target system.
|
|
</li>
|
|
<li>If you restore system resource management objects on a system other than the one on which the SAVSYS or SAVCFG command was saved, the system then treats the target system hardware as new and creates all new resource names, making the existing configuration descriptions useless. If this occurs, you need to restore the correct system resource management objects from the most current SAVSYS or SAVCFG command for that command. If neither of these is available, you must change existing configuration descriptions to reflect the new resource names.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="RSTCFG.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="#RSTCFG.OBJ"><b>OBJ</b></a></td>
|
|
<td valign="top">Objects</td>
|
|
<td valign="top">Single values: *ALL, *SRM<br>Other values (up to 300 repetitions): <i>Generic name, name</i></td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.DEV"><b>DEV</b></a></td>
|
|
<td valign="top">Device</td>
|
|
<td valign="top">Single values: *SAVF<br>Other values (up to 4 repetitions): <i>Name</i></td>
|
|
<td valign="top">Required, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.OBJTYPE"><b>OBJTYPE</b></a></td>
|
|
<td valign="top">Object types</td>
|
|
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 10 repetitions): *CFGL, *CNNL, *COSD, *CTLD, *DEVD, *LIND, *MODD, *NTBD, *NWID, *NWSD</td>
|
|
<td valign="top">Optional, Positional 3</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.VOL"><b>VOL</b></a></td>
|
|
<td valign="top">Volume identifier</td>
|
|
<td valign="top">Single values: <b><u>*MOUNTED</u></b><br>Other values (up to 75 repetitions): <i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 4</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.SEQNBR"><b>SEQNBR</b></a></td>
|
|
<td valign="top">Sequence number</td>
|
|
<td valign="top">1-16777215, <b><u>*SEARCH</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.ENDOPT"><b>ENDOPT</b></a></td>
|
|
<td valign="top">End of media option</td>
|
|
<td valign="top"><b><u>*REWIND</u></b>, *LEAVE, *UNLOAD</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#RSTCFG.SAVF"><b>SAVF</b></a></td>
|
|
<td valign="top">Save file</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Save file</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#RSTCFG.SRM"><b>SRM</b></a></td>
|
|
<td valign="top">System Resource Management</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *NONE, *HDW, *TRA</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.OPTFILE"><b>OPTFILE</b></a></td>
|
|
<td valign="top">Optical file</td>
|
|
<td valign="top"><i>Path name</i>, <b><u>*</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.ALWOBJDIF"><b>ALWOBJDIF</b></a></td>
|
|
<td valign="top">Allow object differences</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b>, *ALL<br>Other values (up to 3 repetitions): *AUTL, *OWNER, *PGP</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#RSTCFG.OUTPUT"><b>OUTPUT</b></a></td>
|
|
<td valign="top">Output</td>
|
|
<td valign="top"><b><u>*NONE</u></b>, *PRINT, *OUTFILE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#RSTCFG.OUTFILE"><b>OUTFILE</b></a></td>
|
|
<td valign="top">File to receive output</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: File to receive output</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="3"><a href="#RSTCFG.OUTMBR"><b>OUTMBR</b></a></td>
|
|
<td valign="top">Output member options</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Member to receive output</td>
|
|
<td valign="top">
|
|
<i>Name</i>, <b><u>*FIRST</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Replace or add records</td>
|
|
<td valign="top">
|
|
<b><u>*REPLACE</u></b>, *ADD</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="4"><a href="#RSTCFG.OMITOBJ"><b>OMITOBJ</b></a></td>
|
|
<td valign="top">Objects to omit</td>
|
|
<td valign="top">Values (up to 300 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="4">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Object</td>
|
|
<td valign="top">
|
|
<i>Qualifier list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Object</td>
|
|
<td valign="top"><i>Generic name, name</i>, <b><u>*NONE</u></b>, *ALL</td>
|
|
</tr><tr>
|
|
<td valign="top">Element 2: Object type</td>
|
|
<td valign="top">
|
|
<b><u>*ALL</u></b>, *CFGL, *CNNL, *COSD, *CTLD, *DEVD, *LIND, *MODD, *NTBD, *NWID, *NWSD</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="RSTCFG.OBJ"></a>
|
|
<h3>Objects (OBJ)</h3>
|
|
<p>Specifies the objects to be restored. Specify the name of each object, or the generic name of each group of objects to restore. A generic name is a character string that contains one or more characters followed by an asterisk (*). If an asterisk (*) is not specified with the name, the system assumes that the name is a complete object name.
|
|
</p>
|
|
<p>If the <b>Object types (OBJTYPE)</b> parameter has a value of *ALL, all the object types listed in the description of the OBJTYPE parameter are restored, if they have the specified names.
|
|
</p>
|
|
<p>System resource management (SRM) objects cannot be restored individually or by specifying a generic name. To restore only SRM objects, specify *SRM for this parameter and a value for the <b>System Resource Management (SRM)</b> parameter.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All the device configuration objects are restored, depending on the values specified for the OBJTYPE parameter.
|
|
</dd>
|
|
<dt><b>*SRM</b></dt>
|
|
<dd>The device configuration objects are not restored, but system resource management (SRM) objects are restored based on the SRM parameter value.
|
|
<p><b>ATTENTION</b> You must specify SRM(*NONE) on the RSTCFG, unless the system you are restoring to is the exact same hardware configuration that the original configuration was saved on, to prevent the restore of the SRM information. If the SRM information is restored, the configuration objects may become unusable.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 300 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify one or more generic names of groups of objects in the specified library to restore.
|
|
<p>
|
|
<b>Note: </b>A generic name is specified as a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, then all objects that have names with the same prefix as the generic object name are selected.
|
|
</p>
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify one or more names of specific objects to restore. Both generic names and specific names can be specified in the same command. A maximum of 300 object names can be specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.DEV"></a>
|
|
<h3>Device (DEV)</h3>
|
|
<p>Specifies the name of the device used for the restore operation. The device name must already be known on the system by a device description.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*SAVF</b></dt>
|
|
<dd>The restore operation is done using the save file specified for the <b>Save file (SAVF)</b> parameter.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>optical-device-name</i></b></dt>
|
|
<dd>Specify the name of the optical device used for the restore operation.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>tape-media-library-device-name</i></b></dt>
|
|
<dd>Specify the name of the tape media library device used for the restore operation.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>tape-device-name</i></b></dt>
|
|
<dd>Specify the names of one or more tape devices used for the restore operation. If a virtual tape device is used, it must be the only device specified. If you are using more than one tape device (up to a maximum of four), specify the names of the devices in the order in which they are used. When more than one tape volume is to be restored, using more than one tape device permits one tape volume to be rewound while another tape device processes the next tape volume.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OBJTYPE"></a>
|
|
<h3>Object types (OBJTYPE)</h3>
|
|
<p>Specifies the types of system objects that are to be restored.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All of the device configuration object types that are specified by name are restored. If *ALL is also specified for the <b>Objects (OBJ)</b> parameter, all of the saved device configuration objects are restored.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 10 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the value for each of the types of objects that are to be restored.
|
|
<p>The object types shown are the ones that are saved in the device configuration file by the Save System (SAVSYS) command or the Save Configuration (SAVCFG) command.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*CFGL</b></dt>
|
|
<dd>Configuration lists
|
|
</dd>
|
|
<dt><b>*CNNL</b></dt>
|
|
<dd>Connection list
|
|
</dd>
|
|
<dt><b>*COSD</b></dt>
|
|
<dd>Class-of-service description
|
|
</dd>
|
|
<dt><b>*CTLD</b></dt>
|
|
<dd>Controller description
|
|
</dd>
|
|
<dt><b>*DEVD</b></dt>
|
|
<dd>Device description
|
|
</dd>
|
|
<dt><b>*IPXD</b></dt>
|
|
<dd>Internet Packet Exchange description
|
|
</dd>
|
|
<dt><b>*LIND</b></dt>
|
|
<dd>Line description
|
|
</dd>
|
|
<dt><b>*MODD</b></dt>
|
|
<dd>Mode description
|
|
</dd>
|
|
<dt><b>*NTBD</b></dt>
|
|
<dd>NetBIOS description
|
|
</dd>
|
|
<dt><b>*NWID</b></dt>
|
|
<dd>Network interface description
|
|
</dd>
|
|
<dt><b>*NWSD</b></dt>
|
|
<dd>Network server description
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<b>Note: </b>*SRMSPC can be saved but not restored as an object type. To restore *SRM data, specify *SRM for the OBJ parameter.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.VOL"></a>
|
|
<h3>Volume identifier (VOL)</h3>
|
|
<p>Specifies the volume identifiers of the media or the cartridge identifiers of tapes in a tape media library device, from which the objects are being restored. The volumes must be in the same order as they were when the data was saved. The volume that contains the beginning of the file to be restored should be placed in the device.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>The first version of the objects found in the specified location is restored, unless a specific version is identified by the SAVDATE parameter and SAVTIME parameter, or for tape, the SEQNBR parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*MOUNTED</u></b></dt>
|
|
<dd>The objects are restored from the volumes placed in the device specified for the <b>Device (DEV)</b> parameter. For a media library device, the volume to be used is the next cartridge in the category mounted by the Set Tape Category (SETTAPCGY) command.
|
|
<p>
|
|
<b>Note: </b>This value cannot be specified when using an optical media library device.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 75 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the identifiers of one or more volumes in the order in which they are placed in a device and used to restore the data.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.SEQNBR"></a>
|
|
<h3>Sequence number (SEQNBR)</h3>
|
|
<p>Specifies the sequence number that is used for the restore operation.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SEARCH</u></b></dt>
|
|
<dd>The volume placed in a device is searched for a data file containing the saved device configuration objects. When a match is found, the configuration objects are restored.
|
|
</dd>
|
|
<dt><b><i>1-16777215</i></b></dt>
|
|
<dd>Specify the sequence number of the file to be used for the restore operation.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.ENDOPT"></a>
|
|
<h3>End of media option (ENDOPT)</h3>
|
|
<p>Specifies the operation that is automatically done on the tape or optical volume after the restore operation ends. If more than one volume is used, this parameter applies only to the last volume used; all other volumes are unloaded when the end of the volume is reached.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter is valid only if a tape or optical device name is specified for the DEV parameter. For optical devices, *UNLOAD is the only special value supported, *REWIND and *LEAVE will be ignored.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*REWIND</u></b></dt>
|
|
<dd>The tape is automatically rewound, but not unloaded, after the operation has ended.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*LEAVE</b></dt>
|
|
<dd>The tape does not rewind or unload after the operation ends. It remains at the current position on the tape drive.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*UNLOAD</b></dt>
|
|
<dd>The tape is automatically rewound and unloaded after the operation ends. Some optical devices will eject the volume after the operation ends.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.SAVF"></a>
|
|
<h3>Save file (SAVF)</h3>
|
|
<p>Specifies the save file used to restore the data.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>A value must be specified for this parameter if *SAVF is specified for the <b>Device (DEV)</b> parameter.
|
|
</p>
|
|
<p><b>Qualifier 1: Save file</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of save file to be used.
|
|
</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 until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the save file. If no current library entry exists in the library list, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library where the save file is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.SRM"></a>
|
|
<h3>System Resource Management (SRM)</h3>
|
|
<p>Specifies the type of system resource management (SRM) information to be restored. This parameter is valid only when *ALL or *SRM is specified on the <b>Objects (OBJ)</b> parameter.
|
|
</p>
|
|
<p><b>ATTENTION</b> Unless the system you are restoring to has exactly the same hardware configuration as the system that the original configuration was saved on, you must specify SRM(*NONE) on this command to prevent the restore of the SRM information. If the SRM information is restored on a system with a different hardware configuration, the configuration objects may become unusable.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All system resource management information is restored.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No system resource management information is restored.
|
|
</dd>
|
|
<dt><b>*HDW</b></dt>
|
|
<dd>All hardware information is restored.
|
|
</dd>
|
|
<dt><b>*TRA</b></dt>
|
|
<dd>All token-ring adapter information is restored.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OPTFILE"></a>
|
|
<h3>Optical file (OPTFILE)</h3>
|
|
<p>Specifies the path name of the optical file that is used for the restore operation, beginning with the root directory of the volume.
|
|
</p>
|
|
<p>For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*</u></b></dt>
|
|
<dd>The system searches the root directory of the optical volume for the default name generated by the corresponding save operation.
|
|
</dd>
|
|
<dt><b><i>'optical-directory-path-name/*'</i></b></dt>
|
|
<dd>The system searches the specified directory of the optical volume for the default name generated by the corresponding save operation.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.ALWOBJDIF"></a>
|
|
<h3>Allow object differences (ALWOBJDIF)</h3>
|
|
<p>Specifies whether differences are allowed between the saved objects and the restored objects.
|
|
</p>
|
|
<p><b>Notes:</b>
|
|
</p>
|
|
<ol>
|
|
<li>You must have all object (*ALLOBJ) special authority to specify any value other than *NONE for this parameter.
|
|
</li>
|
|
<li>If differences are found, the final message for the restore operation is an escape message rather than the normal completion message.
|
|
</li>
|
|
</ol>
|
|
<p>The types of differences include:
|
|
</p>
|
|
<ul>
|
|
<li>Authorization list: The saved object had an authorization list, and either the object exists on the system but does not have the same authorization list, or the object does not exist and it is being restored to a different system than the save system.
|
|
<p>
|
|
<b>Note: </b>This parameter has no effect when the saved object did not have an authorization list. If the object exists, it is restored with the authorization list of the existing object. If it does not exist, it is restored with no authorization list.
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Ownership: The owner of an object on the system is different than the owner of an object from the save operation.
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Primary Group: The primary group of an object on the system is different than the primary group of an object from the save operation.
|
|
</li>
|
|
</ul>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>None of the differences listed above are allowed on the restore operation. See the description of each individual value to determine how differences are handled.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All of the differences listed above are allowed on the restore operation. See the description of each individual value to determine how differences are handled.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 3 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*AUTL</b></dt>
|
|
<dd>Authorization list differences are allowed. If the saved object had an authorization list and the object exists on the system but does not have the same authorization list, the object is restored with the authorization list of the existing object. If the saved object had an authorization list and the object does not exist and it is being restored to a different system than the save system, the object is restored and it is linked to the authorization list. If the authorization list does not exist, the public authority is set to *EXCLUDE.
|
|
<p>If this value is not specified, authorization list differences are not allowed. If the saved object had an authorization list and the object exists on the system but does not have the same authorization list, the object is not restored. If the saved object had an authorization list and the object does not exist and it is being restored to a different system than the save system, the object is restored, but it is not linked to the authorization list, and the public authority is set to *EXCLUDE.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*OWNER</b></dt>
|
|
<dd>Ownership differences are allowed. If an object already exists on the system with a different owner than the saved object, the object is restored with the owner of the object on the system.
|
|
<p>If this value is not specified, ownership differences are not allowed. If an object already exists on the system with a different owner than the saved object, the object is not restored.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*PGP</b></dt>
|
|
<dd>Primary group differences are allowed. If an object already exists on the system with a different primary group than the saved object, the object is restored with the primary group of the object on the system.
|
|
<p>If this value is not specified, primary group differences are not allowed. If an object already exists on the system with a different primary group than the saved object, the object is not restored.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OUTPUT"></a>
|
|
<h3>Output (OUTPUT)</h3>
|
|
<p>Specifies whether a listing that shows information about the status of the objects is created and directed to an output file. The listing shows the restore information and shows all objects restored, not restored, and excluded. Information about each object's security is listed for the restored objects.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No output is created.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*PRINT</b></dt>
|
|
<dd>The output is printed with the job's spooled output.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*OUTFILE</b></dt>
|
|
<dd>The output is directed to the database file specified for the <b>File to receive output (OUTFILE)</b> parameter.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p>
|
|
<b>Note: </b>You must specify a database file name for the OUTFILE parameter when OUTPUT(*OUTFILE) is specified.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OUTFILE"></a>
|
|
<h3>File to receive output (OUTFILE)</h3>
|
|
<p>Specifies the database file to which the information is directed when *OUTFILE is specified for the <b>Output (OUTPUT)</b> parameter. If the file does not exist, this command creates a database file in the specified library. If a new file is created, the system uses QASRRSTO in QSYS with the format name QSRRST as a model.
|
|
</p>
|
|
<p><b>Qualifier 1: File to receive output</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the database file to which output from the command is directed. If this file does not exist, it is created in the specified library.
|
|
</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 until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the file. If no library is specified as the current library for the job, the QGPL library is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library to be searched.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OUTMBR"></a>
|
|
<h3>Output member options (OUTMBR)</h3>
|
|
<p>Specifies the name of the database file member to which the output is directed when *OUTFILE is specified for the <b>Output (OUTPUT)</b> parameter.
|
|
</p>
|
|
<p><b>Element 1: Member to receive output</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*FIRST</u></b></dt>
|
|
<dd>The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the member does not exist, the system creates a member with the name of the file specified for the <b>File to receive output (OUTFILE)</b> parameter.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the file member that receives the output. If OUTMBR(member-name) is specified and the member does not exist, the system creates it.
|
|
<p>If the member exists, you can add records to the end of the existing member or clear the existing member and add the records.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Replace or add records</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*REPLACE</u></b></dt>
|
|
<dd>The existing records in the specified database file member are replaced by the new records.
|
|
</dd>
|
|
<dt><b>*ADD</b></dt>
|
|
<dd>The new records are added to the existing information in the specified database file member.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="RSTCFG.OMITOBJ"></a>
|
|
<h3>Objects to omit (OMITOBJ)</h3>
|
|
<p>Specifies the objects to be excluded from the operation. Up to 300 objects or generic object values can be specified.
|
|
</p>
|
|
<p><b>Element 1: Object</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 1: Object</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No objects are excluded from the operation.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All objects of the specified object type are excluded from the operation.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the objects to be excluded.
|
|
<p>
|
|
<b>Note: </b>A generic name is specified as a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, then all objects that have names with the same prefix as the generic object name are selected.
|
|
</p>
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the object to be excluded from the operation.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Object type</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All object types are excluded from the operation, depending on the value specified for the object name.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the object type of the objects to be excluded from the operation.
|
|
<p>To see a complete list of object types when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt). For a description of the object types, see "Object types" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RSTCFG.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Restoring All Objects</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RSTCFG OBJ(*ALL) DEV(TAP01) OBJTYPE(*ALL)
|
|
</pre>
|
|
</p>
|
|
<p>This command restores all of the device configuration and SRM objects from the tape on the TAP01 drive.
|
|
</p>
|
|
<p><b>Example 2: Restoring a Device Description</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RSTCFG OBJ(PRT01) DEV(TAP01) OBJTYPE(*DEVD) VOL(ABCD)
|
|
</pre>
|
|
</p>
|
|
<p>The device description for PRT01 that was saved on tape volume ABCD is restored to the system. If device description PRT01 already exists on the system, it must be varied off before it can be restored.
|
|
</p>
|
|
<p><b>Example 3: Restoring a Network Server Description</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
RSTCFG OBJ(SERVER1) DEV(TAP01) OBJTYPE(*NWSD) VOL(SAV1)
|
|
</pre>
|
|
</p>
|
|
<p>The network server description SERVER1 that was saved on tape volume SAV1 is restored to the system. If the network server description SERVER1 already exists on the system, it must be varied off before it can be restored.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RSTCFG.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF26C1</b></dt>
|
|
<dd>Network server &1 not varied off.
|
|
</dd>
|
|
<dt><b>CPF370C</b></dt>
|
|
<dd>Not authorized to ALWOBJDIF parameter.
|
|
</dd>
|
|
<dt><b>CPF3707</b></dt>
|
|
<dd>Save file &1 in &2 contains no data.
|
|
</dd>
|
|
<dt><b>CPF3709</b></dt>
|
|
<dd>Tape devices do not support same densities.
|
|
</dd>
|
|
<dt><b>CPF3727</b></dt>
|
|
<dd>Duplicate device &1 specified on device name list.
|
|
</dd>
|
|
<dt><b>CPF3728</b></dt>
|
|
<dd>Device &1 specified with other devices.
|
|
</dd>
|
|
<dt><b>CPF3733</b></dt>
|
|
<dd>&2 &1 in &3 previously damaged.
|
|
</dd>
|
|
<dt><b>CPF3738</b></dt>
|
|
<dd>Device &1 used for save or restore is damaged.
|
|
</dd>
|
|
<dt><b>CPF3743</b></dt>
|
|
<dd>File cannot be restored, displayed, or listed.
|
|
</dd>
|
|
<dt><b>CPF3748</b></dt>
|
|
<dd>Object information for library &1 damaged.
|
|
</dd>
|
|
<dt><b>CPF376B</b></dt>
|
|
<dd>File &1 not found.
|
|
</dd>
|
|
<dt><b>CPF3767</b></dt>
|
|
<dd>Device &1 not found.
|
|
</dd>
|
|
<dt><b>CPF3768</b></dt>
|
|
<dd>Device &1 not valid for command.
|
|
</dd>
|
|
<dt><b>CPF3769</b></dt>
|
|
<dd>File found on media not save/restore file.
|
|
</dd>
|
|
<dt><b>CPF377B</b></dt>
|
|
<dd>No objects restored. &3 objects excluded.
|
|
</dd>
|
|
<dt><b>CPF377C</b></dt>
|
|
<dd>&1 objects restored; &2 not restored; &6 excluded.
|
|
</dd>
|
|
<dt><b>CPF3780</b></dt>
|
|
<dd>Specified file for library &1 not found.
|
|
</dd>
|
|
<dt><b>CPF3782</b></dt>
|
|
<dd>File &1 in &2 not a save file.
|
|
</dd>
|
|
<dt><b>CPF379B</b></dt>
|
|
<dd>Objects from save file &1 in &2 not restored.
|
|
</dd>
|
|
<dt><b>CPF3791</b></dt>
|
|
<dd>While processing &2 &1 in &3, encountered end of file &4.
|
|
</dd>
|
|
<dt><b>CPF3793</b></dt>
|
|
<dd>Machine or ASP storage limit reached.
|
|
</dd>
|
|
<dt><b>CPF3794</b></dt>
|
|
<dd>Save or restore operation ended unsuccessfully.
|
|
</dd>
|
|
<dt><b>CPF3796</b></dt>
|
|
<dd>Storage limit exceeded for user profile &4.
|
|
</dd>
|
|
<dt><b>CPF3805</b></dt>
|
|
<dd>Objects from save file &1 in &2 not restored.
|
|
</dd>
|
|
<dt><b>CPF3807</b></dt>
|
|
<dd>Data decompression error for save file &1 in &2.
|
|
</dd>
|
|
<dt><b>CPF3812</b></dt>
|
|
<dd>Save file &1 in &2 in use.
|
|
</dd>
|
|
<dt><b>CPF3883</b></dt>
|
|
<dd>S/38 device configuration objects not restored.
|
|
</dd>
|
|
<dt><b>CPF5729</b></dt>
|
|
<dd>Not able to allocate object &1.
|
|
</dd>
|
|
<dt><b>CPF9809</b></dt>
|
|
<dd>Library &1 cannot be accessed.
|
|
</dd>
|
|
<dt><b>CPF9812</b></dt>
|
|
<dd>File &1 in library &2 not found.
|
|
</dd>
|
|
<dt><b>CPF9820</b></dt>
|
|
<dd>Not authorized to use library &1.
|
|
</dd>
|
|
<dt><b>CPF9822</b></dt>
|
|
<dd>Not authorized to file &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF9825</b></dt>
|
|
<dd>Not authorized to device &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RSTCFG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|