ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qjochrvc.htm

173 lines
5.1 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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Change Journal Recovery Count (QJOCHRVC) API</title>
<!-- Begin Header Records -->
<!-- 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. -->
<!-- JC1 SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Change Journal Recovery Count (QJOCHRVC) API</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Recovery count</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Error Code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *EXCLUDE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The journal recovery count allows a user to choose between faster
abnormal IPL recovery and decreased run time processing. The value
specified influences the frequency with which journaled objects are forced
to auxiliary storage as those objects are changed. The specified journal
recovery count indicates the approximate number of journaled changes that
would need to be recovered during journal synchronization for this journal
in the event of an abnormal IPL. Specifying a smaller value decreases the
number of changes that would need to be recovered from this journal during
an abnormal IPL by increasing the frequency with which changed objects are
forced. Specifying a larger value increases the number of changes that
would need to be recovered for this journal during an abnormal IPL by
decreasing the frequency with which changed objects are forced. Changing
this value may affect overall system performance as it affects the
utilization of auxiliary storage devices.</p>
<p>The operating system is shipped with a system default journal recovery
count of 250,000. This API changes the system default journal recovery
count for all newly created journals on the system and all existing
journals that have the system default (*SYSDFT) specified for their journal
recovery count. To set the journal recovery count of a specific journal to
a value other than the system default, please refer to the Journal recovery
count (JRNRCYCNT) parameter on the Change Journal (CHGJRN) command.</p>
<p>This API changes the recovery count for all journals on the system. The
default value for journal recovery count is 50,000.</p>
<br>
<h3>Restrictions</h3>
<p>None
</p>
<br>
<h3>Authorities and Locks</h3>
<p>*ALLOBJ special authority is required to use this API.
</p>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Recovery count</strong></dt>
<dd>INPUT; BINARY(4)
<p>The new value for the journal recovery count. This must be between 10,000
and 2,000,000,000.</p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="3">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td valign="top">CPF24B4 E</td>
<td valign="top">Severe error while addressing parameter list.</td>
</tr>
<tr>
<td valign="top">CPF3CF1 E</td>
<td valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF69A5 E</td>
<td valign="top">Recovery count must be between &amp;2 and &amp;3.</td>
</tr>
<tr>
<td valign="top">CPF69A6 E</td>
<td valign="top">Unable to change journal recovery count.</td>
</tr>
<tr>
<td valign="top">CPF9872 E</td>
<td valign="top">Program or service program &amp;1 in library &amp;2 ended.
Reason code &amp;3.</td>
</tr>
<tr>
<td valign="top">CPFB802 E</td>
<td valign="top">The caller of the API must have *ALLOBJ special
authority.</td>
</tr>
</table>
<br>
<br>
<hr>
API introduced: V5R3
<hr>
<table cellpadding="2" cellspacing="2" align="center">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"jc1.htm">Journal and Commit APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</body>
</html>