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

360 lines
15 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>Chg Recovery for Access Paths (CHGRCYAP)</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="CHGRCYAP.Top_Of_Page"></a>
<h2>Chg Recovery for Access Paths (CHGRCYAP)</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="#CHGRCYAP.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGRCYAP.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGRCYAP.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGRCYAP"></a>
<p>The Change Recovery for Access Paths (CHGRCYAP) command is used to change the target access path recovery time for the system or for one or more auxiliary storage pools (ASPs). The system uses no more than the specified target access path recovery time when recovering access paths during an initial program load (IPL) or vary on of an independent ASP after an abnormal system end. Because the access path recovery time is a target, performance may range around the target.
</p>
<p>The time taken to rebuild access paths exposed while running the Copy File (CPYF), the Reorganize Physical File Member (RGZPFM), or the Restore Object (RSTOBJ) commands is not considered in the target access path recovery time of access paths protected with this command.
</p>
<p>You can use this command to manage the protection of access paths that are not already protected through journaling. Changes made with this command are an immediate change in policy; however, a little time may be needed for the system to adjust its performance to meet the new target.
</p>
<p>For more information on using this command, see the "Journal management" article in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have job control (*JOBCTL) special authority to use this command.
</li>
<li>This command is shipped with public *EXCLUDE authority, and the QPGMR and QSYSOPR user profiles have private authorities to use this command.
</li>
<li>If the current access path recovery state is *OFF, the user must be in a restricted state to activate system-managed access-path protection by specifying a target access path recovery time value.
</li>
<li>If no user auxiliary storage pools (ASPs) exist on the system, an access path recovery time for ASP 1 cannot be specified. The access path recovery time must be specified on the SYSRCYTIME parameter.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGRCYAP.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="#CHGRCYAP.SYSRCYTIME"><b>SYSRCYTIME</b></a></td>
<td valign="top">System recovery time</td>
<td valign="top">1-1440, <b><u>*SAME</u></b>, *SYSDFT, *NONE, *MIN, *OFF</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGRCYAP.ASPRCYTIME"><b>ASPRCYTIME</b></a></td>
<td valign="top">ASP recovery time</td>
<td valign="top">Values (up to 32 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: ASP number</td>
<td valign="top">
1-32</td>
</tr>
<tr>
<td valign="top">Element 2: Recovery time</td>
<td valign="top">
1-1440, *SAME, *NONE, *MIN</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGRCYAP.ASPDEVRCY"><b>ASPDEVRCY</b></a></td>
<td valign="top">ASP device recovery time</td>
<td valign="top">Values (up to 223 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: ASP device</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: Recovery time</td>
<td valign="top">
1-1440, *SAME, *NONE, *MIN</td>
</tr>
<tr>
<td valign="top"><a href="#CHGRCYAP.INCACCPTH"><b>INCACCPTH</b></a></td>
<td valign="top">Include access paths</td>
<td valign="top"><b><u>*SAME</u></b>, *ALL, *ELIGIBLE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGRCYAP.SYSRCYTIME"></a>
<h3>System recovery time (SYSRCYTIME)</h3>
<p>Specifies the target access path recovery time to be used system-wide.
</p>
<p>
<b>Note: </b>Changing from *OFF to another value must be done when the system is in a restricted state.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSDFT</b></dt>
<dd>The system access path recovery time value is set to the system default value of 50 minutes.
</dd>
<dt><b>*NONE</b></dt>
<dd>The time allotted to rebuild access paths is not limited. No access path protection is provided by the system. The system continues to monitor current exposure. The time it takes to rebuild the access paths is available for review through the Display Recovery for Access Paths (DSPRCYAP) or the Edit Recovery for Access Paths (EDTRCYAP) commands.
</dd>
<dt><b>*MIN</b></dt>
<dd>Minimum access path recovery time for the system is used, which provides for the fastest access path recovery. All eligible access paths for the entire system are protected.
</dd>
<dt><b>*OFF</b></dt>
<dd>The time allotted to rebuild the access paths is not limited. No access path protection is provided by the system. The system does not monitor current exposure.
</dd>
<dt><b><i>system-access-path-recovery-time</i></b></dt>
<dd>Specify the time (in minutes) to be targeted for access path recovery for the entire system. Valid values range from 1 through 1440.
<p><b>Note:</b> The system may not be able to protect enough access paths to meet the target access path recovery time. You can review access path recovery status by using the DSPRCYAP command.
</p>
<p>Reasons that the target access path recovery time may not be met:
</p>
<ol>
<li>Access paths cannot be protected if two of the underlying physical files are journaled to different journals.
</li>
<li>If the system access path recovery time value was changed just prior to the system crash, the new time value may not be in effect.
</li>
<li>Access paths were exposed due to the CPYF, RGZPFM, or RSTOBJ command being run.
</li>
<li>Damage was done to the internal system environment which maintains the system-managed access-path protection (SMAPP) support.
</li>
</ol>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGRCYAP.ASPRCYTIME"></a>
<h3>ASP recovery time (ASPRCYTIME)</h3>
<p>Specifies the target access path recovery time per auxiliary storage pool. This parameter is valid and prompted only if the system has basic user ASPs.
</p>
<p><b>Element 1: Auxiliary storage pool ID</b>
</p>
<dl>
<dt><b><i>ASP-identifier</i></b></dt>
<dd>Specify the value ranging from 1 through 32 that is the identifier of the ASP to which the target access path recovery time applies. Valid values depend on the ASPs active on the system.
<p>
<b>Note: </b>The value of 1 is the system ASP, any other value indicates a user ASP.
</p>
<p>To specify the target access path recovery time for an independent ASP, use the ASPDEVRCY parameter.
</p>
</dd>
</dl>
<p><b>Element 2: Recovery time</b>
</p>
<dl>
<dt><b>*SAME</b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>The access paths for the specified ASP are protected only if they need to be protected to reach the system access path recovery time specified.
</dd>
<dt><b>*MIN</b></dt>
<dd>All of the access paths for the specified ASP are protected. The system uses the minimum time needed for access path recovery.
</dd>
<dt><b><i>access-path-recovery-time</i></b></dt>
<dd>Specify the number of minutes to be targeted for access path recovery for the specified ASP. If both the system access path recovery time and an ASP access path recovery time are specified, the system uses the value specifying the lesser amount of time. Valid values range from 1 through 1440.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGRCYAP.ASPDEVRCY"></a>
<h3>ASP device recovery time (ASPDEVRCY)</h3>
<p>Specifies the target access path recovery time per independent auxiliary storage pool. This parameter is valid and prompted only if the system has active or available independent ASPs.
</p>
<p><b>Element 1: Auxiliary storage pool ID</b>
</p>
<dl>
<dt><b><i>ASP-device-name</i></b></dt>
<dd>Specify the name of the independent ASP that is the identifier of the ASP to which the target access path recovery time applies. Valid names depend on the ASPs active or available on the system.
</dd>
</dl>
<p><b>Element 2: Recovery time</b>
</p>
<dl>
<dt><b>*SAME</b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>The access paths for the specified ASP are protected only if they need to be protected to reach the specified system access path recovery time.
</dd>
<dt><b>*MIN</b></dt>
<dd>All of the eligible access paths for the specified ASP are protected. The system uses the minimum time needed for access path recovery.
</dd>
<dt><b><i>access-path-recovery-time</i></b></dt>
<dd>Specify the number of minutes to be targeted for access path recovery for the specified ASP. If both the system access path recovery time and an ASP access path recovery time are specified, the system uses the value specifying the lesser amount of time. Valid values range from 1 through 1440.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGRCYAP.INCACCPTH"></a>
<h3>Include access paths (INCACCPTH)</h3>
<p>Specifies whether the access path recovery time specification should include only those access paths which are considered eligible for protection or include all access paths. The access paths which are not eligible for protection are:
</p>
<ul>
<li>Access paths built over physical files which are journaled to separate journals.
</li>
<li>Access paths built over a physical file which is journaled to a journal whose journal state is currently *STANDBY.
</li>
</ul>
<p>
<b>Note: </b>Access paths with *REBLD maintenance are not considered for access path protection and are not included in the not eligible time since these access paths are not recovered during an IPL or during the vary on of an independent ASP.
</p>
<p>
<b>Note: </b>Access paths that have international components for unicode (ICU) sort sequence tables are considered for access path protection. However, some of these access paths may be too complex to be protected and will not be included in the not eligible time. Access paths with other sort sequence tables are considered.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>The access path recovery time specification includes all access paths, both those that are and those that are not eligible.
</dd>
<dt><b>*ELIGIBLE</b></dt>
<dd>The access path recovery time specification includes only those access paths which are considered eligible for protection.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGRCYAP.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Changing the System Recovery Time for Access Paths</b>
</p>
<p>
<pre>
CHGRCYAP SYSRCYTIME(180)
</pre>
</p>
<p>This command changes the target access path recovery time for the entire system to 180. This protects enough access paths to limit the time needed at IPL to recover all eligible access paths on the system to 180 minutes.
</p>
<p>The target access path recovery time includes access paths which are considered not eligible.
</p>
<p><b>Example 2: Changing the User ASP Recovery Times for Access Paths</b>
</p>
<p>
<pre>
CHGRCYAP ASPRCYTIME((2 *MIN) (3 *NONE))
INCACCPTH(*ELIGIBLE)
</pre>
</p>
<p>This command changes the access path recovery times for user ASPs. The user ASP 2 is changed to *MIN, which protects all access paths on the ASP. The user ASP 3 is changed to *NONE, which protects access paths on the ASP only if needed to reach the system access path recovery time.
</p>
<p>The target access path recovery time includes only access paths which are considered eligible.
</p>
<p><b>Example 3: Changing the Independent ASP Recovery Times for Access Paths</b>
</p>
<p>
<pre>
CHGRCYAP ASPRCYTIME((2 *MIN))
ASPDEVRCY((WAREHUS1 20) (ORDERDB *MIN))
INCACCPTH(*ALL)
</pre>
</p>
<p>This command changes the access path recovery times for one basic user ASP and two independent user ASPs. The user ASP 2 is changed to *MIN, which protects all access paths on the ASP. The independent user ASP with ASP device name WAREHUS1 is changed to 20 minutes, which protects enough access paths on the ASP to acheive a vary on access path rebuild time of 20 minutes. The independent user ASP with ASP device name ORDERDB is changed to *MIN, which protects all access paths on the independent ASP.
</p>
<p>All target access path recovery times for the system (not just those specified on this command) will be defined to include all access paths. More eligible access paths will be protected to account for any access paths that are not eligible.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGRCYAP.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF70E6</b></dt>
<dd>ASPRCYTIME parameter not valid.
</dd>
<dt><b>CPF70E8</b></dt>
<dd>ASP &amp;1 specified more than once.
</dd>
<dt><b>CPF70E9</b></dt>
<dd>ASP &amp;1 not configured or off-line.
</dd>
<dt><b>CPF70FA</b></dt>
<dd>Recovery times reset before changes completed.
</dd>
<dt><b>CPF70FB</b></dt>
<dd>No authority to use command.
</dd>
<dt><b>CPF70F4</b></dt>
<dd>Error occurred.
</dd>
<dt><b>CPF70F7</b></dt>
<dd>Restricted system required to change recovery times.
</dd>
<dt><b>CPF70F9</b></dt>
<dd>Not all recovery time changes made active.
</dd>
<dt><b>CPF700F</b></dt>
<dd>Access path recovery time for &amp;1 set to *NONE.
</dd>
<dt><b>CPF701C</b></dt>
<dd>Change to system access path recovery time canceled.
</dd>
<dt><b>CPF701D</b></dt>
<dd>Error occurred during change of recovery times.
</dd>
<dt><b>CPF701E</b></dt>
<dd>Access path protection cannot be turned *OFF.
</dd>
<dt><b>CPF702E</b></dt>
<dd>Access path recovery times set to system defaults.
</dd>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPFB8ED</b></dt>
<dd>Device description &amp;1 not correct for operation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGRCYAP.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>