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

675 lines
26 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>Save System Information (SAVSYSINF)</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="SAVSYSINF.Top_Of_Page"></a>
<h2>Save System Information (SAVSYSINF)</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="#SAVSYSINF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#SAVSYSINF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#SAVSYSINF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="SAVSYSINF"></a>
<p> The Save System Information (SAVSYSINF) command saves a subset of system data and objects saved by the Save System (SAVSYS) command.
</p>
<p> SAVSYSINF is not to be considered a replacement for the SAVSYS command and is not to be used for system upgrades or migrations.
</p>
<p>Objects saved from QSYS include:
</p>
<ul>
<li>*JOBD
</li>
<li>*JOBQ
</li>
<li>*EDTD
</li>
<li>*JRN
</li>
<li>*SBSD
</li>
<li>*CLS
</li>
<li>*MSGQ
</li>
<li>*TBL
</li>
<li>*IGCTBL
</li>
<li>*DTAARA
</li>
<li>*CMD objects changed since the last SAVSYS
</li>
<li>*MSGF objects changed since the last SAVSYS
</li>
</ul>
<p>Additional items saved include:
</p>
<ul>
<li>System reply list
</li>
<li>Service attributes
</li>
<li>Environment variables
</li>
<li>Certain system values
</li>
<li>Network attributes
</li>
<li>PTFs applied since the last SAVSYS
</li>
</ul>
<p>Some items NOT saved as part of SAVSYSINF command:
</p>
<ul>
<li>Licensed Internal Code
</li>
<li>QSYS library
</li>
<li>Security objects (use the SAVSECDTA command)
</li>
<li>Configuration objects (use the SAVCFG command)
</li>
<li>User profiles (use the SAVSECDTA command)
</li>
<li>System values related to date/time
</li>
<li>System values which cannot be changed. For system values which can be changed, refer to the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter
</li>
<li>QPWDLVL (Password level) system value
</li>
</ul>
<p>Note: The SAVSYSINF command issues several save commands for saving objects. Parameters may or may not be used for all save commands.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="SAVSYSINF.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="#SAVSYSINF.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 1</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.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</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.SEQNBR"><b>SEQNBR</b></a></td>
<td valign="top">Sequence number</td>
<td valign="top">1-16777215, <b><u>*END</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.EXPDATE"><b>EXPDATE</b></a></td>
<td valign="top">File expiration date</td>
<td valign="top"><i>Date</i>, <b><u>*PERM</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.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="#SAVSYSINF.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="#SAVSYSINF.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="#SAVSYSINF.USEOPTBLK"><b>USEOPTBLK</b></a></td>
<td valign="top">Use optimum block</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.CLEAR"><b>CLEAR</b></a></td>
<td valign="top">Clear</td>
<td valign="top"><b><u>*NONE</u></b>, *ALL, *AFTER, *REPLACE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.DTACPR"><b>DTACPR</b></a></td>
<td valign="top">Data compression</td>
<td valign="top"><b><u>*DEV</u></b>, *NO, *YES, *LOW, *MEDIUM, *HIGH</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.COMPACT"><b>COMPACT</b></a></td>
<td valign="top">Data compaction</td>
<td valign="top"><b><u>*DEV</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SAVSYSINF.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="#SAVSYSINF.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="#SAVSYSINF.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>
</table>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="SAVSYSINF.DEV"></a>
<h3>Device (DEV)</h3>
<p>Specifies the name of the device used for the save 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 save 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 save 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 save 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 save operation. If a virtual tape device is used, it must be the only device specified. If multiple tape devices are used, they must have compatible media formats and their names must be specified in the order in which they are used. Using more than one tape device permits one tape volume to be rewound and unloaded while another tape device processes the next tape volume.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.VOL"></a>
<h3>Volume identifier (VOL)</h3>
<p>Specifies the volume identifiers of the volumes, or the cartridge identifiers of tapes in a tape media library device, on which the data is saved. The volumes must be placed in the device in the same order as specified for this parameter.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*MOUNTED</u></b></dt>
<dd>The data is saved on the volumes placed in the device. 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 save the data.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.SEQNBR"></a>
<h3>Sequence number (SEQNBR)</h3>
<p>Specifies, when tape is used, the sequence number to use as the starting point for the save operation.
</p>
<dl>
<dt><b><u>*END</u></b></dt>
<dd>The save operation begins after the last sequence number on the first tape. If the first tape is full, an error message is issued and the operation ends.
</dd>
<dt><b><i>1-16777215</i></b></dt>
<dd>Specify the sequence number of the file to be used for the save operation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.EXPDATE"></a>
<h3>File expiration date (EXPDATE)</h3>
<p>Specifies the expiration date of the file created by the save operation. If a date is specified, the file is protected and cannot be overwritten until the specified expiration date.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>This parameter is valid for tape and optical files.
</li>
<li>Specifying this parameter does not protect against a later save operation specifying CLEAR(*ALL).
</li>
</ol>
<dl>
<dt><b><u>*PERM</u></b></dt>
<dd>The file is protected permanently.
</dd>
<dt><b><i>date</i></b></dt>
<dd>Specify the date when protection for the file ends.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.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 save 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="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.SAVF"></a>
<h3>Save file (SAVF)</h3>
<p>Specifies the save file that is used to contain the saved data. The save file must be empty, unless *ALL is specified for the <b>Clear (CLEAR)</b> parameter.
</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="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.OPTFILE"></a>
<h3>Optical file (OPTFILE)</h3>
<p>Specifies the path name of the optical file that is used for the save 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 generates an optical file name in the root directory of the optical volume.
</dd>
<dt><b><i>'optical-directory-path-name/*'</i></b></dt>
<dd>The system generates an optical file name in the specified directory of the optical volume.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.USEOPTBLK"></a>
<h3>Use optimum block (USEOPTBLK)</h3>
<p>Specifies whether or not the optimum block size is used for the save operation.
</p>
<p>
<b>Note: </b>Specifying USEOPTBLK(*YES) may result in a tape that can be duplicated only to a device that supports the same block size.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The optimum block size supported by the device is used for Save commands. If the block size that is used is larger than a block size that is supported by all device types, then:
<ul>
<li>Performance may improve.
</li>
<li>The tape file that is created is only compatible with a device that supports the block size used. Commands such as Duplicate Tape (DUPTAP) do not duplicate files unless the files are being duplicated to a device which supports the same block size that was used.
</li>
<li>The value for the DTACPR parameter is ignored.
</li>
</ul>
</dd>
<dt><b>*NO</b></dt>
<dd>The optimum block size supported by the device is not used. Save commands use the default block size supported by all device types. The tape volume can be duplicated to any media format using the Duplicate Tape (DUPTAP) command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.CLEAR"></a>
<h3>Clear (CLEAR)</h3>
<p>Specifies whether active data on the media is automatically cleared or replaced. Active data is any file on the media that has not expired. For saves to tape, clearing active data will make any files on the tape volume beyond the last file written by the save operation no longer accessible. For saves to optical, the files written by the save operation can be automatically replaced while other files on the volume remain active, or all active files can be automatically cleared. Clearing does not erase the data, it just makes the files no longer accessible.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>Clearing a tape does not initialize it. You should initialize tapes to a standard label format before the save command is issued by using the Initialize Tape (INZTAP) command and specifying a value for the NEWVOL parameter.
</li>
<li>Clearing an optical volume does initialize it.
</li>
<li>If a volume that is not initialized is encountered during the save operation, an inquiry message is sent and an operator can initialize the volume.
</li>
</ol>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>None of the media is automatically cleared. If the save operation encounters active data on a tape volume or in a save file, an inquiry message is sent, allowing the operator to either end the save operation or clear the media. If the save operation encounters the specified optical file, an inquiry message is sent, allowing the operator to either end the save operation or replace the file.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>All of the media is automatically cleared.
</dd>
</dl>
<p>If tapes are used and a sequence number is specified for the SEQNBR parameter, the first tape is cleared beginning at that sequence number. All tapes following that first tape are completely cleared. To clear the entire first tape, SEQNBR(1) must be specified.
</p>
<dl>
<dt><b>*AFTER</b></dt>
<dd>All media after the first volume is automatically cleared. If the save operation encounters active data on the first tape volume, an inquiry message is sent, allowing the operator to either end the save operation or clear the media. If the save operation encounters the specified optical file on the first volume, an inquiry message is sent, allowing the operator to either end the save operation or replace the file.
</dd>
</dl>
<dl>
<dt><b></b></dt>
<dd>
<p>
<b>Note: </b>The *AFTER value is not valid for save files.
</p>
</dd>
</dl>
<dl>
<dt><b>*REPLACE</b></dt>
<dd>Active data on the media is automatically replaced. Optical volumes are not initialized. Other media is automatically cleared in the same way as the *ALL value.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.DTACPR"></a>
<h3>Data compression (DTACPR)</h3>
<p>Specifies whether data compression is used. If the save is running while other jobs on the system are active and software compression is used, the overall system performance may be affected.
</p>
<p>
<b>Note: </b>If *DEV is specified for both this parameter and the <b>Data compaction (COMPACT)</b> parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed.
</p>
<p>If *YES is specified for this parameter and *DEV is specified for the COMPACT parameter, both device data compaction and device data compression are performed if supported on the device.
</p>
<dl>
<dt><b><u>*DEV</u></b></dt>
<dd>If the save is to tape and the target device supports compression, hardware compression is performed. Otherwise, no data compression is performed.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>No data compression is performed.
</dd>
<dt><b>*YES</b></dt>
<dd>If the save is to tape and the target device supports compression, hardware compression is performed. If compression is not supported, or if the save data is written to optical media or to a save file, software compression is performed. Low software compression is used for all devices except optical DVD, which uses medium software compression.
</dd>
<dt><b>*LOW</b></dt>
<dd>If the save operation is to a save file or optical, software data compression is performed with the SNA algorithm. Low compression is usually faster and the compressed data is usually larger than if medium or high compression is used.
<p>
<b>Note: </b>This value is not valid for tape.
</p>
</dd>
<dt><b>*MEDIUM</b></dt>
<dd>If the save operation is to a save file or optical, software data compression is performed with the TERSE algorithm. Medium compression is usually slower than low compression but faster than high compression. The compressed data is usually smaller than if low compression is used and larger than if high compression is used.
<p>
<b>Note: </b>This value is not valid for tape.
</p>
</dd>
<dt><b>*HIGH</b></dt>
<dd>If the save operation is to a save file or optical, software data compression is performed with the LZ1 algorithm. High compression is usually slower and the compressed data is usually smaller than if low or medium compression is used.
<p>
<b>Note: </b>This value is not valid for tape.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.COMPACT"></a>
<h3>Data compaction (COMPACT)</h3>
<p>Specifies whether device data compaction is performed.
</p>
<dl>
<dt><b><u>*DEV</u></b></dt>
<dd>Device data compaction is performed if the data is saved to tape and all tape devices specified for the <b>Device (DEV)</b> parameter support the compaction feature.
<p>
<b>Note: </b>If *DEV is specified for both the <b>Data compression (DTACPR)</b> parameter and this parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed if supported on the device.
</p>
<p>If *YES is specified for the DTACPR parameter and *DEV is specified for this parameter, both device data compaction and device data compression are performed if supported on the device.
</p>
</dd>
<dt><b>*NO</b></dt>
<dd>Device data compaction is not performed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether a list with information about the saved objects is created. The information can be printed with the job's spooled output or directed to a database file.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No output listing 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 <b>File to receive output (OUTFILE)</b> parameter when OUTPUT(*OUTFILE) is specified.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.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 QASAVOBJ in QSYS with the format name QSRSAV 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="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SAVSYSINF.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="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="SAVSYSINF.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Tapes Cleared Automatically</b>
</p>
<p>
<pre>
SAVSYSINF DEV(TAP01) CLEAR(*ALL)
</pre>
</p>
<p>This command saves the system information on the tape put on the TAP01 tape drive. Each uncleared tape is automatically cleared when it is encountered, and the save operation continues without operator intervention.
</p>
<p><b>Example 2: Save File Cleared Automatically and Output Generated to a File</b>
</p>
<p>
<pre>
SAVSYSINF DEV(*SAVF) SAVF(QGPL/SAVF) CLEAR(*ALL)
OUTPUT(*OUTFILE) OUTFILE(QGPL/OUTPUT)
</pre>
</p>
<p>This command saves the system information to the save file named SAVF in library QGPL. The save file will be cleared automatically. Information about what was saved will be written to the first member of the file named OUTPUT in library QGPL; the file and member will be created if they do not exist.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="SAVSYSINF.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF38A7</b></dt>
<dd>SAVSYSINF completed. One or more objects not saved.
</dd>
<dt><b>CPD37AD</b></dt>
<dd>Save file not found for PTF &amp;1-&amp;2 &amp;3.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SAVSYSINF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>