1026 lines
52 KiB
HTML
1026 lines
52 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>Change Journal (CHGJRN)</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="CHGJRN.Top_Of_Page"></a>
|
|
<h2>Change Journal (CHGJRN)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>Yes
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#CHGJRN.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGJRN.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGJRN.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGJRN"></a>
|
|
<p>The Change Journal (CHGJRN) command changes the journal receiver, the journal message queue, the manage receiver attribute, the delete receiver attribute, the receiver size options, the journal state, allowing minimized entry specific data, journal caching, the journal receivers threshold, the journal object limit, the journal recovery count, or the text associated with the specified journal. The command allows one journal receiver to be attached to the specified journal. This replaces the previously attached journal receiver. The newly-attached journal receiver begins receiving journal entries for the journal immediately.
|
|
</p>
|
|
<p>The sequence numbering of journal entries can be reset when the receiver is changed. If the sequencing is not reset, an informational message is sent indicating the first sequence number in the newly attached receiver. If RCVSIZOPT(*MAXOPT1 or *MAXOPT2) is in effect for the journal, an informational message (CPF7019) is sent to the system operator recommending that the sequence numbers be reset when the first sequence number is greater than 9,500,000,000. If RCVSIZOPT(*MAXOPT3) is in effect for the journal, an informational message (CPF7019) is sent to the system operator recommending that the sequence numbers be reset when the first sequence number is greater than 18,446,600,000,000,000,000. Otherwise, CPF7019 is sent when the first sequence number is greater than 2,000,000,000.
|
|
</p>
|
|
<p>If *SAME is specified on the JRNRCV parameter, the currently attached journal receiver remains attached.
|
|
</p>
|
|
<p>The journal receiver can be changed when these journal functions are in progress: comparing images, displaying journals, receiving or retrieving journal entries, applying or removing journal changes, working with journal attributes, restoring journal receivers, or displaying journal receiver attributes.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>To use this command, the user must be signed on as QPGMR, QSYSOPR, or QSRV, or have *ALLOBJ authority.
|
|
</li>
|
|
<li>The receiver specified must be created before issuing this command, and it must be empty (that is, the receiver must not have been previously attached to a journal or have been in the process of being attached to a journal).
|
|
</li>
|
|
<li>No more than one journal receiver can be attached to the journal at any specific time.
|
|
</li>
|
|
<li>Resetting of sequence numbers is not valid if JRNRCV(*SAME) is specified, if any objects being journaled contain changes that have not yet been forced to auxiliary storage, or if any commit control changes associated with the journal are pending. When the maximum sequence number is reached, an error message is sent (entry not journaled) and all subsequent operations that require journaling fail.
|
|
</li>
|
|
<li>If one of the *MAXOPT values from the RCVSIZOPT parameter is not to be in effect for the journal, the maximum threshold value that can be specified for any journal receiver being attached is 1,919,999 kilobytes.
|
|
</li>
|
|
<li>SEQOPT(*RESET) must be specified if the journal currently has one of the *MAXOPT values for the RCVSIZOPT parameter in effect, and no *MAXOPT value is being specified as part of the CHGJRN request.
|
|
</li>
|
|
<li>If the library containing the journal is on an independent ASP then the journal receiver specified must be located on an independent ASP that is in the same ASP group as the journal's library. Likewise, if the library containing the journal is not on an independent ASP, then the journal receiver specified cannot be located on an independent ASP.
|
|
</li>
|
|
<li>RCVSIZOPT(*MINFIXLEN) and FIXLENDTA cannot be used for the system security audit journal QSYS/QAUDJRN. Journal entries in the security audit journal are required to contain all possible data that could be used for auditing purposes.
|
|
</li>
|
|
<li>SEQOPT(*RESET) must be specified if the journal currently has RCVSIZOPT(*MAXOPT3) in effect, and *MAXOPT3 is not being specified as part of the CHGJRN request.
|
|
</li>
|
|
<li>JRNOBJLMT(*MAX10M) is only valid if one of the *MAXOPT values was specified for the RCVSIZOPT parameter.
|
|
</li>
|
|
<li>JRNOBJLMT(*MAX10M), once specified for a journal, cannot be changed.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGJRN.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" rowspan="3"><a href="#CHGJRN.JRN"><b>JRN</b></a></td>
|
|
<td valign="top">Journal</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Required, Key, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Journal</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="7"><a href="#CHGJRN.JRNRCV"><b>JRNRCV</b></a></td>
|
|
<td valign="top">Journal receiver</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b><br>Other values: <i>Element list</i></td>
|
|
<td valign="top" rowspan="7">Optional, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Journal receiver</td>
|
|
<td valign="top">
|
|
Single values: *GEN<br>Other values: <i>Qualified object name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Journal receiver</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top">Element 2: Journal receiver</td>
|
|
<td valign="top">
|
|
Single values: *GEN<br>Other values: <i>Qualified object name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Journal receiver</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#CHGJRN.SEQOPT"><b>SEQOPT</b></a></td>
|
|
<td valign="top">Sequence option</td>
|
|
<td valign="top"><b><u>*CONT</u></b>, *RESET</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#CHGJRN.MSGQ"><b>MSGQ</b></a></td>
|
|
<td valign="top">Journal message queue</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Journal message queue</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="#CHGJRN.MNGRCV"><b>MNGRCV</b></a></td>
|
|
<td valign="top">Manage receivers</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *SYSTEM, *USER</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.DLTRCV"><b>DLTRCV</b></a></td>
|
|
<td valign="top">Delete receivers</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.RCVSIZOPT"><b>RCVSIZOPT</b></a></td>
|
|
<td valign="top">Receiver size options</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSDFT, *NONE<br>Other values (up to 3 repetitions): *RMVINTENT, *MINFIXLEN, *MAXOPT1, *MAXOPT2, *MAXOPT3</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.JRNSTATE"><b>JRNSTATE</b></a></td>
|
|
<td valign="top">Journal state</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *ACTIVE, *INACTIVE, *STANDBY</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.MINENTDTA"><b>MINENTDTA</b></a></td>
|
|
<td valign="top">Minimize entry specific data</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 2 repetitions): *FILE, *FLDBDY, *DTAARA</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.JRNCACHE"><b>JRNCACHE</b></a></td>
|
|
<td valign="top">Journal caching</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.MNGRCVDLY"><b>MNGRCVDLY</b></a></td>
|
|
<td valign="top">Manage receiver delay time</td>
|
|
<td valign="top">1-1440, <b><u>*SAME</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.DLTRCVDLY"><b>DLTRCVDLY</b></a></td>
|
|
<td valign="top">Delete receiver delay time</td>
|
|
<td valign="top">1-1440, <b><u>*SAME</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.FIXLENDTA"><b>FIXLENDTA</b></a></td>
|
|
<td valign="top">Fixed length data</td>
|
|
<td valign="top">Single values: <b><u>*JOBUSRPGM</u></b><br>Other values (up to 9 repetitions): *JOB, *USR, *PGM, *PGMLIB, *SYSSEQ, *RMTADR, *THD, *LUW, *XID</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.THRESHOLD"><b>THRESHOLD</b></a></td>
|
|
<td valign="top">Journal receiver threshold</td>
|
|
<td valign="top">100000-1000000000, <b><u>*SAME</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.JRNOBJLMT"><b>JRNOBJLMT</b></a></td>
|
|
<td valign="top">Journal object limit</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *MAX10M</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.JRNRCYCNT"><b>JRNRCYCNT</b></a></td>
|
|
<td valign="top">Journal recovery count</td>
|
|
<td valign="top">10000-2000000000, <b><u>*SAME</u></b>, *SYSDFT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGJRN.TEXT"><b>TEXT</b></a></td>
|
|
<td valign="top">Text 'description'</td>
|
|
<td valign="top"><i>Character value</i>, *BLANK, <b><u>*SAME</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGJRN.JRN"></a>
|
|
<h3>Journal (JRN)</h3>
|
|
<p>Specifies the name and library of the journal for which journal receivers or operational attributes are being changed.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>journal-name</i></b></dt>
|
|
<dd>Specify the journal having journal receivers or operational attributes changed.
|
|
</dd>
|
|
</dl>
|
|
<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 job is searched. If no library is specified as the current library for the job, QGPL is used.
|
|
</dd>
|
|
<dt><b><i>library-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="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.JRNRCV"></a>
|
|
<h3>Journal receiver (JRNRCV)</h3>
|
|
<p>Specifies which journal receiver to attach to the specified journal.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 1: Journal receiver</b>
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*GEN</b></dt>
|
|
<dd>The journal receiver is created by the system and then attached to the specified journal. The journal receiver is created with the same attributes, with the same owner, with the same authorities, with the same audit level, and in the same library as the currently attached journal receiver. The name of the new journal receiver is derived by appending a 4-digit number to a portion of the name of the current receiver, or by adding 1 to the number in the name of the current journal receiver. The name of the journal receiver that was created and attached is returned in an informational message. More information on generated journal receiver names is in the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Journal receiver</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>receiver-name</i></b></dt>
|
|
<dd>Specify the name of the journal receiver being attached to the identified journal. The journal receiver must have been previously created in the specified library, and must not have been previously attached to a journal or have been in the process of being attached to a journal.
|
|
</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 job is searched. If no library is specified as the current library for the job, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>library-name</i></b></dt>
|
|
<dd>Specify the name of the library to be searched.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Journal receiver</b>
|
|
</p>
|
|
<p>The second journal receiver, if specified, is ignored.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.SEQOPT"></a>
|
|
<h3>Sequence option (SEQOPT)</h3>
|
|
<p>Specifies whether the journal sequence number is continued from the currently attached journal receiver or the journal sequence number is reset to 1 in the newly attached journal receiver.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CONT</u></b></dt>
|
|
<dd>The journal sequence number of the next journal entry created is one greater than the sequence number of the last journal entry in the currently attached journal receiver.
|
|
</dd>
|
|
<dt><b>*RESET</b></dt>
|
|
<dd>The journal sequence number of the first journal entry in the newly attached journal receiver is reset to 1. *RESET is not valid if *SAME is specified on the <b>Journal receiver (JRNRCV)</b> parameter, if any object being journaled contains changes that have not yet been forced to auxiliary storage, or if any commitment control changes associated with the journal are pending.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.MSGQ"></a>
|
|
<h3>Journal message queue (MSGQ)</h3>
|
|
<p>Specifies the qualified name of the message queue associated with the journal. A message is sent to this queue when one of the following occurs:
|
|
</p>
|
|
<ul>
|
|
<li>When an attached journal receiver's threshold is surpassed, the message CPF7099 is sent if the journal has the MNGRCV(*USER) attribute.
|
|
</li>
|
|
<li>When an attached journal receiver's threshold is surpassed, the system attempts to create and attach a new receiver if the journal has the MNGRCV(*SYSTEM) attribute. When the old receiver is detached, the message CPF7020 is sent. If the attempt fails due to lock conflicts, the system sends the message CPI70E5 and then tries again every 10 minutes (or as often as requested via the MNGRCVDLY parameter) until the change journal operation is successful.
|
|
</li>
|
|
<li>If the journal receiver was attached while RCVSIZOPT(*MAXOPT1 or *MAXOPT2) was in effect for the journal, message CPI70E7 is sent when the sequence number exceeds 9,900,000,000. If the journal receiver was attached while RCVSIZOPT(*MAXOPT3) was in effect for the journal, message CPI70E7 is sent when the sequence number exceeds 18,446,644,000,000,000,000. Otherwise, message CPI70E7 is sent when a journal receiver's sequence number exceeds 2,147,000,000.
|
|
</li>
|
|
<li>When the system cannot determine if the journal has the MNGRCV(*SYSTEM) attribute, or if the attempt to create and attach a new journal receiver fails because of something other than a lock conflict, the message CPI70E3 is sent.
|
|
</li>
|
|
<li>When remote journal operations occur, see the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter for more details.
|
|
</li>
|
|
<li>When the system cannot delete a receiver due to a lock conflict, an exit program indicating that the receiver cannot be deleted, or the receiver is not yet fully replicated to all remote journals, CPI70E6 is sent and the operation will be retried every 10 minutes (or as often as requested via the DLTRCVDLY parameter). If a delete fails for any other reason, CPI70E1 is sent.
|
|
</li>
|
|
</ul>
|
|
<p>To set the threshold value, refer to the <b>Journal receiver threshold (THRESHOLD)</b> parameter or the Create Journal Receiver (CRTJRNRCV) command description.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>A message queue that is in library QTEMP cannot be specified on this parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Journal message queue</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>journal-message-queue-name</i></b></dt>
|
|
<dd>Specify the name of the journal message queue that replaces the message queue previously specified and to which the journal messages are sent. If this message queue is not available when a message is to be sent, the message is sent to the QSYSOPR message queue.
|
|
</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 job is used to locate the journal message queue. If no library is specified as the current library for the job, QGPL is used.
|
|
</dd>
|
|
<dt><b><i>library-name</i></b></dt>
|
|
<dd>Specify the library where the journal message queue is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.MNGRCV"></a>
|
|
<h3>Manage receivers (MNGRCV)</h3>
|
|
<p>Specifies how the changing of journal receivers (detaching the currently attached journal receiver and attaching a new journal receiver) is managed.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*SYSTEM</b></dt>
|
|
<dd>The system manages the changing of journal receivers (this function is called system change-journal management). When an attached journal receiver reaches its size threshold, the system detaches the attached journal receiver and creates and attaches a new journal receiver. Message CPF7020 is sent to the journal message queue when the journal receiver is detached. If changing to *SYSTEM and *GEN is specified for the <b>Journal receiver (JRNRCV)</b> parameter, and the currently attached receiver has no threshold specified, the new receiver will be given a threshold of 1500000KB. *SYSTEM is not valid if *SAME is specified on the <b>Journal receiver (JRNRCV)</b> parameter.
|
|
<p>Also, if the journal receiver was attached while RCVSIZOPT(*MAXOPT1 or *MAXOPT2) was in effect for the journal, the system attempts to perform a CHGJRN command to reset the sequence number when the journal receiver's sequence number exceeds 9,900,000,000. If the journal receiver was attached while RCVSIZOPT(*MAXOPT3) was in effect for the journal, the system attempts to perform a CHGJRN command to reset the sequence number when the journal receiver's sequence number exceeds 18,446,644,000,000,000,000. For all other journal receivers, the system attempts this CHGJRN when the sequence number exceeds 2,147,000,000.
|
|
</p>
|
|
<p>Additionally, during an initial program load (IPL) or the vary on of an independent ASP, the system performs a CHGJRN command to create and attach a new journal receiver and to reset the journal sequence number of journals that are not needed for commitment control recovery for that IPL or vary on, unless the RCVSIZOPT is *MAXOPT3. The sequence number will not be reset and a new journal receiver will not be attached if the RCVSIZOPT is *MAXOPT3 unless the sequence number exceeds the sequence number threshold which is 18,446,600,000,000,000,000.
|
|
</p>
|
|
<p><b>Notes:</b>
|
|
</p>
|
|
<ol>
|
|
<li>The journal receiver threshold value must be non-zero to specify MNGRCV(*SYSTEM). The journal receiver threshold value can be specified on the THRESHOLD parameter of this command or by specifying a threshold value on the Create Journal Receiver (CRTJRNRCV) command.
|
|
</li>
|
|
<li>Specifying MNGRCV(*SYSTEM) does not prevent you from using this command to manage journal receiver.
|
|
</li>
|
|
</ol>
|
|
</dd>
|
|
<dt><b>*USER</b></dt>
|
|
<dd>The user manages the changing of journal receivers by issuing the CHGJRN command to attach a new receiver and detach an old receiver.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.DLTRCV"></a>
|
|
<h3>Delete receivers (DLTRCV)</h3>
|
|
<p>Specifies whether the system deletes journal receivers when they are no longer needed or leaves them on the system for the user to delete after they have been detached by system change-journal management or by a user-issued CHGJRN command.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter can be specified only if MNGRCV(*SYSTEM) is specified, or if the journal currently has the MNGRCV(*SYSTEM) attribute, or if the journal is a remote journal.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The journal receivers are not deleted by the system.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The journal receivers are deleted by the system. To specify this value, no receivers other than the currently attached receiver can be in the receiver directory.
|
|
<p>
|
|
<b>Note: </b>To find out which journal receivers are in the receiver directory, you can view the Work with Receiver Directory display, which can be accessed using the Work with Journal Attributes (WRKJRNA) command.
|
|
</p>
|
|
<p>When the journal has the DLTRCV(*YES) attribute, the following conditions can prevent the system from deleting the receiver. When one of these conditions occurs, the system sends message CPI70E6 to the journal message queue, and then retries the delete operation every 10 minutes (or as often as requested via the DLTRCVDLY parameter) until the operation is successful.
|
|
</p>
|
|
<ul>
|
|
<li>A lock conflict occurs for either the journal receiver or its journal.
|
|
</li>
|
|
<li>An exit program that was registered by way of the QIBM_QJO_DLT_JRNRCV exit point indicates that a receiver is not eligible for deletion.
|
|
</li>
|
|
<li>A journal has remote journals associated with it and one or more of the associated remote journals do not yet have full copies of this receiver.
|
|
</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.RCVSIZOPT"></a>
|
|
<h3>Receiver size options (RCVSIZOPT)</h3>
|
|
<p>Specifies the options that affect the size of the receiver attached to the journal.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>To remove a receiver size option, specify all the receiver size options you want to keep and do not specify the one you want to remove.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>*SYSDFT, *NONE, *RMVINTENT, *MINFIXLEN, *MAXOPT1, *MAXOPT2, and *MAXOPT3 are not valid if *SAME is specified on the <b>Journal receiver (JRNRCV)</b> parameter.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>You can specify only one of the three choices between *MAXOPT1, *MAXOPT2, and *MAXOPT3.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</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 uses the current recommended values. Specifying this value is currently equivalent to specifying *MAXOPT2 and *RMVINTENT.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No options affect the size of the journal entries attached to the receiver. All journal entries placed on the receiver are permanent. The fixed length data as defined by FIXLENDTA will be included in every journal entry deposited into the attached journal receiver.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 3 repititions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*RMVINTENT</b></dt>
|
|
<dd>The size of the receiver attached to the journal is reduced by automatic removal of the internal entries required only for initial program load (IPL) or independent ASP vary on recovery when these entries are no longer required.
|
|
</dd>
|
|
<dt><b>*MINFIXLEN</b></dt>
|
|
<dd>The size of the journal entries that are deposited into the attached journal receiver is reduced by the automatic removal of fixed-length data that is deemed not to be required for recovery purposes. This option is not valid when FIXLENDTA is also specified.
|
|
</dd>
|
|
<dt><b>*MAXOPT1</b></dt>
|
|
<dd>If this is specified for the journal, the journal receiver attached to that journal can have a maximum receiver size of approximately one terabyte (1,099,511,627,776 bytes) and a maximum sequence number of 9,999,999,999. Additionally, the maximum size of the journal entry which can be deposited is 15,761,440 bytes. This value cannot be specified if *MAXOPT2 or *MAXOPT3 is specified.
|
|
</dd>
|
|
<dt><b>*MAXOPT2</b></dt>
|
|
<dd>If this is specified for the journal, the journal receiver attached to that journal can have a maximum receiver size of approximately one terabyte (1,099,511,627,776 bytes) and a maximum sequence number of 9,999,999,999. Additionally, the maximum size of the journal entry which can be deposited is 4,000,000,000 bytes. This value cannot be specified if *MAXOPT1 or *MAXOPT3 is specified.
|
|
</dd>
|
|
<dt><b>*MAXOPT3</b></dt>
|
|
<dd>If this is specified for the journal, the journal receiver attached to that journal can have a maximum receiver size of approximately one terabyte (1,099,511,627,776 bytes) and a maximum sequence number of 18,446,744,073,709,551,600. Additionally, the maximum size of the journal entry which can be deposited is 4,000,000,000 bytes. These journal receivers cannot be saved and restored to any releases prior to V5R3M0 nor can they be replicated to any remote journals on any systems at releases prior to V5R3M0. Also, during an initial program load (IPL) or the vary on of an independent ASP, when MNGRCV(*SYSTEM) is specified, the system will not automatically perform a CHGJRN command to create and attach a new journal receiver and reset the journal sequence number unless the sequence number exceeds the sequence number threshold which is 18,446,600,000,000,000,000. This value cannot be specified if *MAXOPT1 or *MAXOPT2 is specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.JRNSTATE"></a>
|
|
<h3>Journal state (JRNSTATE)</h3>
|
|
<p>Specifies whether journal entries are allowed to be deposited into the journal.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Values *ACTIVE, *INACTIVE, and *STANDBY are only valid when JRNRCV(*SAME) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*ACTIVE</b></dt>
|
|
<dd>All journal entries are allowed to be deposited into the journal.
|
|
<p>
|
|
<b>Note: </b>This value cannot be specified for remote journals.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*INACTIVE</b></dt>
|
|
<dd>This state only applies to remote journals. When a remote journal is *INACTIVE, no entries are being received from the source system. When the journal state is changed to *ACTIVE, the outstanding entries will be sent from the source system.
|
|
<p>
|
|
<b>Note: </b>If this value is specified, the remaining parameters except for JRN, must specify *SAME.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*STANDBY</b></dt>
|
|
<dd>Most journal entries are not deposited into the journal. If an attempt is made to deposit an entry into the journal, there will be no errors indicating that the entry was not deposited. While in *STANDBY state, journaling can be started or stopped. However, using commitment control is not allowed while in *STANDBY state. Because commitment control is not allowed, functions where the system uses commitment control internally are also not allowed.
|
|
<p>
|
|
<b>Note: </b>This value cannot be specified for remote journals.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>See the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter for which journal entries are allowed to be deposited in these states.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.MINENTDTA"></a>
|
|
<h3>Minimize entry specific data (MINENTDTA)</h3>
|
|
<p>Specifies which object types allow journal entries to have minimized entry specific data.
|
|
</p>
|
|
<p>Journal receivers using the *FLDBDY option to minimize the entry specific data cannot be saved and restored to any release prior to V5R4M0 nor can they be replicated to any remote journal on a system at a release prior to V5R4M0. See the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter for restrictions and usage of journal entries with minimized entry specific data.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>*NONE, *FILE, FLDBDY, and *DTAARA are not valid if *SAME is specified on the <b>Journal receiver (JRNRCV)</b> parameter.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No object type allows a journal entry with minimized entry specific data. Journal entries for all journaled objects will be deposited in the journal with complete entry specific data.
|
|
</dd>
|
|
<dt><b>*FILE</b></dt>
|
|
<dd>Journaled files may have journal entries deposited with minimized entry specific data. The minimizing will not occur on field boundaries. Therefore, the entry specific data may not be viewable and may not be used for auditing purposes. This value cannot be specified if *FLDBDY is specified.
|
|
</dd>
|
|
<dt><b>*FLDBDY</b></dt>
|
|
<dd>Journaled files may have journal entries deposited with minimized entry specific data. The minimizing for journaled files will occur on field boundaries. Therefore, the entry specific data will be viewable and may be used for auditing purposes.
|
|
</dd>
|
|
<dt><b>*DTAARA</b></dt>
|
|
<dd>Journaled data areas may have journal entries deposited with minimized entry specific data.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.JRNCACHE"></a>
|
|
<h3>Journal caching (JRNCACHE)</h3>
|
|
<p>Specifies whether journal entries will be cached before being written out to disk.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>Journal entries are written to disk immediately if needed to assure single-system recovery.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>Journal entries are written to main memory. When there are several journal entries in main memory then the journal entries are written from main memory to disk. If the application performs large numbers of changes, this may result in fewer synchronous disk writes resulting in improved performance. However, it is <b>not</b> recommended to use this option if it is unacceptable to lose even one recent change in the event of a system failure where the contents of main memory are not preserved. This type of journaling is directed primarily toward batch jobs and may not be suitable for interactive applications where single system recovery is the primary reason for journaling.
|
|
<p>
|
|
<b>Note: </b>Applications using commitment control will likely see less performance improvement because commitment control already performs some journal caching.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Entries that are in the cache are not displayable using the Display Journal (DSPJRN) command, Receive Journal Entries (RCVJRNE) command, Retrieve Journal Entries (RTVJRNE) command, or the QjoRetrieveJournalEntries API. Also, entries that are in the cache are not sent to a target system with remote journal. However, these journal entries are included in the last journal sequence number for the journal receiver returned via the Display Journal Receiver Attributes (DSPJRNRCVA) command or QjoRtvJrneReceiverInformation API.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This value cannot be specified if the journal-name starts with a Q and the journal-library starts with a Q, unless the library is QGPL.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.MNGRCVDLY"></a>
|
|
<h3>Manage receiver delay time (MNGRCVDLY)</h3>
|
|
<p>Specifies the time (in minutes) to be used to delay the next attempt to attach a new journal receiver to this journal if the journal is system managed (MNGRCV(*SYSTEM)).
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>This parameter cannot be specified for remote journals.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>1-1440</i></b></dt>
|
|
<dd>When the system cannot allocate an object needed to attach a new journal receiver to this journal, it will wait the specified number of minutes before trying again.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.DLTRCVDLY"></a>
|
|
<h3>Delete receiver delay time (DLTRCVDLY)</h3>
|
|
<p>If the system cannot allocate an object needed to delete a journal receiver associated with this journal and the journal has DLTRCV(*YES) specified, this parameter specifies the time (in minutes) to be used to delay the next attempt to delete the journal receiver.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>1-1440</i></b></dt>
|
|
<dd>System waits the specified number of minutes before trying again.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.FIXLENDTA"></a>
|
|
<h3>Fixed length data (FIXLENDTA)</h3>
|
|
<p>Specifies the data that is included in the fixed-length portion of the journal entries that are deposited into the attached journal receiver. This parameter is not valid when RCVSIZOPT(*MINFIXLEN) is also specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBUSRPGM</u></b></dt>
|
|
<dd>The job name, user name and program name will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*JOB</b></dt>
|
|
<dd>The job name will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*USR</b></dt>
|
|
<dd>The effective user profile name will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*PGM</b></dt>
|
|
<dd>The program name will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*PGMLIB</b></dt>
|
|
<dd>The program library name and the auxiliary storage pool device name that contains the program library will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*SYSSEQ</b></dt>
|
|
<dd>The system sequence number will be included in the journal entries deposited into the attached journal receiver. The system sequence number gives a relative sequence to all journal entries in all journal receivers on the system.
|
|
</dd>
|
|
<dt><b>*RMTADR</b></dt>
|
|
<dd>If appropriate, the remote address, the address family and the remote port will be included in the journal entries deposited into the attached journal receiver.
|
|
</dd>
|
|
<dt><b>*THD</b></dt>
|
|
<dd>The thread identifier will be included in the journal entries deposited into the attached journal receiver. The thread identifier helps distinguish between multiple threads running in the same job.
|
|
</dd>
|
|
<dt><b>*LUW</b></dt>
|
|
<dd>If appropriate, the logical unit of work identifier will be included in the journal entries deposited into the attached journal receiver. The logical unit of work identifies work related to specific commit cycles.
|
|
</dd>
|
|
<dt><b>*XID</b></dt>
|
|
<dd>If appropriate, the transaction identifier will be included in the journal entries deposited into the attached journal receiver. The transaction identifier identifies transactions related to specific commit cycles.
|
|
</dd>
|
|
</dl>
|
|
<p>FIXLENDTA cannot be specified for remote journals and FIXLENDTA is not valid when JRNRCV(*SAME) is specified.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.THRESHOLD"></a>
|
|
<h3>Journal receiver threshold (THRESHOLD)</h3>
|
|
<p>Specifies a storage space threshold value (in KB) for the journal receiver.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>If RCVSIZOPT(*RMVINTENT) is specified for the journal, the internal space occupied by the internal entries applies toward the receiver threshold. Sometime after the journal receiver is detached, the space for the internal entries will be freed. At that time the size of the journal receiver will be less than the specified threshold value.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>You must also specify JRNRCV(*GEN) to specify a threshold value other than *SAME.
|
|
</p>
|
|
<p>If the threshold value is exceeded during journaling, one of the following occurs:
|
|
</p>
|
|
<ul>
|
|
<li>The message CPF7099 is sent to the journal message queue if the journal has the MNGRCV(*USER) attribute.
|
|
</li>
|
|
<li>The system attempts to create and attach a new receiver if the journal has the MNGRCV(*SYSTEM) attribute. When the old receiver is detached, the message CPF7020 is sent to the journal message queue. If the attempt fails due to lock conflicts, the system sends the message CPI70E5 and then tries again every ten minutes (or as often as requested via the MNGRCVDLY parm) until the change journal operation is successful.
|
|
</li>
|
|
<li>When the system cannot determine if the journal has the MNGRCV(*SYSTEM) attribute, or if the attempt to create and attach a new journal receiver fails because of something other than a lock conflict, the message CPI70E3 is sent.
|
|
</li>
|
|
</ul>
|
|
<p>The journal message queue is specified on MSGQ parameter of this command or on the CRTJRN (Create Journal) command.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>The value for the MNGRCV parameter is specified for the journal on the MNGRCV parameter of this command or on the CRTJRN command. If you have not specified MNGRCV(*SYSTEM), and the threshold value is exceeded, you may want to take some action, such as issuing a CHGJRN command.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No threshold value is specified. This value cannot be specified when MNGRCV(*SYSTEM) has been specified.
|
|
</dd>
|
|
<dt><b><i>100000-1000000000</i></b></dt>
|
|
<dd>Specify the journal receiver threshold value in kilobytes (KB) of storage. Each 1000 KB specifies 1,024,000 bytes of storage space. When the size of the space for the journal receiver is larger than the size specified by this value, a message is sent to the identified message queue if appropriate, and journaling continues.
|
|
<p><b>Notes:</b>
|
|
</p>
|
|
<ol>
|
|
<li>If you plan to generate a journal receiver for a journal that does not have one of the *MAXOPT values from the RCVSIZOPT parameter specified, the maximum threshold you should specify is 1,919,999 in kilobytes.
|
|
</li>
|
|
</ol>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.JRNOBJLMT"></a>
|
|
<h3>Journal object limit (JRNOBJLMT)</h3>
|
|
<p>Specifies the option that affects the maximum number of objects that can be journaled to the journal.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*MAX10M</b></dt>
|
|
<dd>The maximum number of objects that can be journaled to the journal is 10,000,000. Any journal receivers associated with such a journal cannot be saved or restored to any releases prior to V5R4M0 nor can they be replicated via remote journaling to any releases prior to V5R4M0.
|
|
<p>Once this value is specified for the journal, the JRNOBJLMT cannot be set to the lower limit.
|
|
</p>
|
|
<p>A new receiver must be attached at the same time as this value is changed.
|
|
</p>
|
|
<p>Runtime performance concerns should be considered when choosing this option. With this new attribute, there is an opportunity for a greater number of objects journaled to one journal. Thus there is a potential opportunity of more objects that can be actively changing at the same time which can affect journal runtime performance. Therefore if the frequency of journal entries being deposited to this one journal is causing runtime performance concerns, then a better alternative would be to split the journaled objects to more than one journal.
|
|
</p>
|
|
<p>Be aware that increasing the quantity of objects associated with a single journal may increase your IPL time, independent ASP vary on time, or disaster recovery time. As a general rule-of-thumb, if the number of actively changing objects is likely to be greater than 5,000 consider journaling some of these objects to a separate journal. The larger the number of actively changing objects for a given journal at system termination, the longer it will take to recover the journal at IPL or vary on of an independent ASP.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.JRNRCYCNT"></a>
|
|
<h3>Journal recovery count (JRNRCYCNT)</h3>
|
|
<p>The journal recovery count allows a user to choose between faster abnormal IPL or independent ASP vary on 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 or vary on. Specifying a smaller value decreases the number of changes that would need to be recovered from this journal during an abnormal IPL or vary on 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 or vary on 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>All journals are created with the system default journal recovery count. If a value other than the system default (*SYSDFT) is specified, the system default journal recovery count will no longer be in effect for this journal.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>The operating system is shipped with a system default journal recovery count of 250,000. If there is a need to change the system default journal recovery count for all newly created journals and all existing journals that have the system default (*SYSDFT) specified for their journal recovery count, please refer to the Change Journal Recovery Count (QJOCHRVC) API in the System API Reference information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Values *SYSDFT and 10000-2000000000 are only valid when JRNRCV(*SAME) is specified.
|
|
</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 value is set to the system default journal recovery count.
|
|
</dd>
|
|
<dt><b><i>10000-2000000000</i></b></dt>
|
|
<dd>Specify the number of journal entries that can be deposited before the changes are forced to auxiliary storage.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGJRN.TEXT"></a>
|
|
<h3>Text 'description' (TEXT)</h3>
|
|
<p>Specifies the text that briefly describes the journal.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The text does not change.
|
|
</dd>
|
|
<dt><b>*BLANK</b></dt>
|
|
<dd>The text is replaced by blanks.
|
|
</dd>
|
|
<dt><b><i>'description'</i></b></dt>
|
|
<dd>Specify no more than 50 characters of text, enclosed in apostrophes. The variable specified becomes the new text associated with this journal.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGJRN.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Detaching Journal Receiver and Resetting Sequence Numbers</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGJRN JRN(JRNLA) JRNRCV(RCV10) SEQOPT(*RESET)
|
|
</pre>
|
|
</p>
|
|
<p>This command detaches the journal receiver currently attached to journal JRNLA (JRNLA is found by using the library search list *LIBL). Journal receiver RCV10 (found using the library search list *LIBL) is attached to journal JRNLA. Because SEQOPT(*RESET) is specified, the first journal entry in journal receiver RCV10 has a sequence number of one.
|
|
</p>
|
|
<p><b>Example 2: Creating and Attaching a New Journal Receiver</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGJRN JRN(JRNLA) JRNRCV(*GEN) THRESHOLD(1500000)
|
|
</pre>
|
|
</p>
|
|
<p>This command detaches the journal receiver currently attached to journal JRNLA. A new journal receiver is created and attached to journal JRNLA. The library, owner, authority, and auditing level of the new journal receiver is the same as that of the detached receiver. The name of the new receiver depends on the name of the detached receiver. (For example, if the receiver is named RCVJRNA, the new receiver is named RCVJRN0001. If the receiver is named RCVJRN0001, the new receiver is named RCVJRN0002.) The first journal entry in the new journal receiver has a sequence number one greater than the last sequence number in the detached receiver. The new receiver will have a receiver size threshold of approximately 1500000 kilobytes.
|
|
</p>
|
|
<p><b>Example 3: Changing to Use System Receiver Management</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGJRN JRN(LIBY/JRN) JRNRCV(LIBX/RCV0001)
|
|
MNGRCV(*SYSTEM) DLTRCV(*YES)
|
|
RCVSIZOPT(*MAXOPT2) MNGRCVDLY(10) DLTRCVDLY(30)
|
|
</pre>
|
|
</p>
|
|
<p>This command detaches the journal receiver currently attached to journal JRN. The user previously created the journal receiver RCV0001 in library LIBX. This specified journal receiver is attached to the journal JRN. This new journal receiver will have a maximum size of approximately one terabyte. It will allow the sequence number to reach 9,999,999,999 and the maximum size of a journal entry that can be deposited in the journal receiver is 4,000,000,000 bytes. The first journal entry in the new journal receiver has a sequence number one greater than the last sequence number in the detached receiver. From this point on the system will manage attaching and detaching journal receivers. If the system cannot allocate an object during this process, it will wait 10 minutes and try again. From this point on, the system will also manage deleting the detached receivers. If the system cannot allocate an object while trying to delete the journal receiver it will wait 30 minutes and try again.
|
|
</p>
|
|
<p><b>Example 4: Changing to Allow a Larger Object Limit</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGJRN JRN(QGPL/DBJRN) JRNRCV(*GEN)
|
|
JRNOBJLMT(*MAX10M)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes the journal DBJRN in library QGPL to allow up to 10,000,000 objects to be journaled to it. A new receiver is attached to the journal. The first entry in the new journal receiver has a sequence number one greater than the last sequence number in the detached receiver. After this change, more than 250,000 objects can be journaled to this journal.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGJRN.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF69A9</b></dt>
|
|
<dd>Internal error detected, error code &2.
|
|
</dd>
|
|
<dt><b>CPF70A0</b></dt>
|
|
<dd>FIXLENDTA parameter not allowed.
|
|
</dd>
|
|
<dt><b>CPF70A1</b></dt>
|
|
<dd>FIXLENDTA parameter not allowed with RCVSIZOPT(*MINFIXLEN).
|
|
</dd>
|
|
<dt><b>CPF70A2</b></dt>
|
|
<dd>JRNRCV(*SAME) not allowed.
|
|
</dd>
|
|
<dt><b>CPF70A5</b></dt>
|
|
<dd>RCVSIZOPT value specified not allowed.
|
|
</dd>
|
|
<dt><b>CPF70B4</b></dt>
|
|
<dd>RCVSIZOPT(&1) can not be removed.
|
|
</dd>
|
|
<dt><b>CPF70B5</b></dt>
|
|
<dd>JRNOBJLMT(&1) not allowed.
|
|
</dd>
|
|
<dt><b>CPF70B6</b></dt>
|
|
<dd>Receiver &1 threshold is too small.
|
|
</dd>
|
|
<dt><b>CPF70B8</b></dt>
|
|
<dd>MINENTDTA values specified not allowed.
|
|
</dd>
|
|
<dt><b>CPF70C9</b></dt>
|
|
<dd>State of journal &1 in &2 not changed.
|
|
</dd>
|
|
<dt><b>CPF70CF</b></dt>
|
|
<dd>Cannot inactivate remote journal with given parameters.
|
|
</dd>
|
|
<dt><b>CPF70DB</b></dt>
|
|
<dd>Remote journal function failed.
|
|
</dd>
|
|
<dt><b>CPF70DD</b></dt>
|
|
<dd>Cannot attach dual receivers to journal &1.
|
|
</dd>
|
|
<dt><b>CPF70DE</b></dt>
|
|
<dd>State of journal &1 in &2 not changed.
|
|
</dd>
|
|
<dt><b>CPF70DF</b></dt>
|
|
<dd>Cannot change attribute for a remote journal.
|
|
</dd>
|
|
<dt><b>CPF70D1</b></dt>
|
|
<dd>Cannot activate remote journal through CHGJRN command.
|
|
</dd>
|
|
<dt><b>CPF70D2</b></dt>
|
|
<dd>Cannot detach journal receiver &3.
|
|
</dd>
|
|
<dt><b>CPF70D9</b></dt>
|
|
<dd>Changing journal state not allowed. Reason code &3.
|
|
</dd>
|
|
<dt><b>CPF70E0</b></dt>
|
|
<dd>Operation on &1 not allowed.
|
|
</dd>
|
|
<dt><b>CPF70E2</b></dt>
|
|
<dd>DLTRCV(*YES) not allowed.
|
|
</dd>
|
|
<dt><b>CPF70E3</b></dt>
|
|
<dd>Only attached receivers allowed in receiver directory
|
|
</dd>
|
|
<dt><b>CPF70E4</b></dt>
|
|
<dd>MNGRCV(*SYSTEM) not allowed.
|
|
</dd>
|
|
<dt><b>CPF70E5</b></dt>
|
|
<dd>RCVSIZOPT values specified not allowed.
|
|
</dd>
|
|
<dt><b>CPF70E7</b></dt>
|
|
<dd>MINENTDTA value not allowed with JRNRCV(*SAME).
|
|
</dd>
|
|
<dt><b>CPF70F1</b></dt>
|
|
<dd>Journal receiver threshold too big for journal.
|
|
</dd>
|
|
<dt><b>CPF70F5</b></dt>
|
|
<dd>Receiver threshold value is not valid.
|
|
</dd>
|
|
<dt><b>CPF70F6</b></dt>
|
|
<dd>RCVSIZOPT value specified not allowed.
|
|
</dd>
|
|
<dt><b>CPF70F8</b></dt>
|
|
<dd>RCVSIZOPT, FIXLENDTA, and JRNOBJLMT value not allowed with JRNRCV(*SAME).
|
|
</dd>
|
|
<dt><b>CPF7003</b></dt>
|
|
<dd>Entry not journaled to journal &1. Reason code &3.
|
|
</dd>
|
|
<dt><b>CPF7004</b></dt>
|
|
<dd>Maximum number of objects journaled to journal &1.
|
|
</dd>
|
|
<dt><b>CPF701A</b></dt>
|
|
<dd>Journal receiver not eligible for operation.
|
|
</dd>
|
|
<dt><b>CPF701B</b></dt>
|
|
<dd>Journal recovery of an interrupted operation failed.
|
|
</dd>
|
|
<dt><b>CPF7011</b></dt>
|
|
<dd>Not enough storage or resources.
|
|
</dd>
|
|
<dt><b>CPF7013</b></dt>
|
|
<dd>Journal receiver not created.
|
|
</dd>
|
|
<dt><b>CPF7015</b></dt>
|
|
<dd>Error on JRNRCV specifications.
|
|
</dd>
|
|
<dt><b>CPF7017</b></dt>
|
|
<dd>Library QTEMP not valid for message queue parameter.
|
|
</dd>
|
|
<dt><b>CPF7018</b></dt>
|
|
<dd>Resetting sequence number not allowed. Reason code &3.
|
|
</dd>
|
|
<dt><b>CPF704E</b></dt>
|
|
<dd>RCVSIZOPT(*MINFIXLEN) not allowed.
|
|
</dd>
|
|
<dt><b>CPF708D</b></dt>
|
|
<dd>Journal receiver found logically damaged.
|
|
</dd>
|
|
<dt><b>CPF708E</b></dt>
|
|
<dd>Journal receiver not allowed with *MAXOPT1 or *MAXOPT2 or *MAXOPT3.
|
|
</dd>
|
|
<dt><b>CPF708F</b></dt>
|
|
<dd>Cannot place a remote journal in standby.
|
|
</dd>
|
|
<dt><b>CPF709F</b></dt>
|
|
<dd>Start of journal caching not allowed. Reason code &3.
|
|
</dd>
|
|
<dt><b>CPF9801</b></dt>
|
|
<dd>Object &2 in library &3 not found.
|
|
</dd>
|
|
<dt><b>CPF9802</b></dt>
|
|
<dd>Not authorized to object &2 in &3.
|
|
</dd>
|
|
<dt><b>CPF9803</b></dt>
|
|
<dd>Cannot allocate object &2 in library &3.
|
|
</dd>
|
|
<dt><b>CPF9804</b></dt>
|
|
<dd>Object &2 in library &3 damaged.
|
|
</dd>
|
|
<dt><b>CPF9806</b></dt>
|
|
<dd>Cannot perform function for object &2 in library &3.
|
|
</dd>
|
|
<dt><b>CPF9810</b></dt>
|
|
<dd>Library &1 not found.
|
|
</dd>
|
|
<dt><b>CPF9820</b></dt>
|
|
<dd>Not authorized to use library &1.
|
|
</dd>
|
|
<dt><b>CPF9825</b></dt>
|
|
<dd>Not authorized to device &1.
|
|
</dd>
|
|
<dt><b>CPF9830</b></dt>
|
|
<dd>Cannot assign library &1.
|
|
</dd>
|
|
<dt><b>CPF9873</b></dt>
|
|
<dd>ASP status is preventing access to object.
|
|
</dd>
|
|
<dt><b>CPF9875</b></dt>
|
|
<dd>Resources exceeded on ASP &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGJRN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|