ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaki_5.4.0.1/rzakiswapjrnrcv.htm

154 lines
11 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Swap journal receivers" />
<meta name="abstract" content="An important task for journal management is to swap (or change) journal receivers. You typically swap journal receivers when they reach their storage threshold. You can swap journal receivers either with iSeries Navigator or with the Change Journal (CHGJRN) command. If you use system journal-receiver management, the system changes journal receivers for you." />
<meta name="description" content="An important task for journal management is to swap (or change) journal receivers. You typically swap journal receivers when they reach their storage threshold. You can swap journal receivers either with iSeries Navigator or with the Change Journal (CHGJRN) command. If you use system journal-receiver management, the system changes journal receivers for you." />
<meta name="DC.Relation" scheme="URI" content="rzakiswapdel.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakimanorsysmng.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakimanorsysmng.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakithreshold.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzaiu/rzaiurzaiu300.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiwrkinopjrnrcv.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakiibmjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirecovrcvdmg.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakinewrcvr.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakirecovdtails.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakiswapjrnrcv" />
<meta name="DC.Language" content="en-us" />
<!-- 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. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Swap journal receivers</title>
</head>
<body id="rzakiswapjrnrcv"><a name="rzakiswapjrnrcv"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Swap journal receivers</h1>
<div><p>An important task for journal management is to swap (or change)
journal receivers. You typically swap journal receivers when they reach their
storage threshold. You can swap journal receivers either with iSeries™ Navigator
or with the Change Journal (CHGJRN) command. If you use system journal-receiver
management, the system changes journal receivers for you.</p>
<div class="section"><p>You can use iSeries Navigator or the Change Journal (CHGJRN)
command to change the attributes of the journal. You also use the iSeries Navigator
or the CHGJRN command to change the receiver for a journal (detach the current
receiver, create and attach a new receiver) and to reset the sequence number
for journal entries.</p>
<p>When you swap a journal receiver, the old journal
receiver becomes detached. When you detach a journal receiver, you cannot
reattach it to any journal. You can do these things with a detached journal
receiver:</p>
<ul><li>Save or restore it.</li>
<li>Display entries.</li>
<li>Retrieve entries.</li>
<li>Receive entries.</li>
<li>Use it to apply or remove journaled changes.</li>
<li>Use it to compare journaled images.</li>
<li>Display its status or position in a receiver chain.</li>
<li>Delete it.</li>
<li>Replicate it with the remote journal function.</li>
</ul>
<p>You must swap journal receivers to change the following journaling
attributes:</p>
<ul><li>Manual or system journal management (MNGRCV parameter)</li>
<li>Receiver size options (RCVSIZOPT parameter)</li>
<li>Minimized entry specific data (MINENTDTA parameter)</li>
<li>Journal receiver threshold value (THRESHOLD parameter)</li>
<li>Fixed-length data (FIXLENDTA parameter)</li>
<li><img src="./delta.gif" alt="Start of change" />Journal object limit (JRNOBJLMT parameter)<img src="./deltaend.gif" alt="End of change" /></li>
<li><img src="./delta.gif" alt="Start of change" />Reset journal sequence numbers (SEQOPT parameter)<img src="./deltaend.gif" alt="End of change" /></li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakiswapdel.htm" title="The management tasks that you need to perform most often for journaling are swapping journal receivers and saving and deleting journal receivers.">Swap, delete, and save journals and receivers</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakimanorsysmng.htm" title="When you create a journal with iSeries Navigator or the Create Journal (CRTJRN) command, you can select to have either system managed or user managed journal receivers.">Manual versus system journal-receiver management</a></div>
<div><a href="rzakithreshold.htm" title="When you create a journal receiver with iSeries Navigator or the Create Journal Receiver (CRTJRNRCV) command, you specify a disk space threshold that indicates when you want the system to warn you or take action.">Threshold (disk space) for journal receivers</a></div>
<div><a href="rzakiwrkinopjrnrcv.htm" title="If you have specified journaling for any objects, the system ensures that you have corrected problems that affect journaling before continuing with operations on those objects. If the attached journal receiver becomes inoperable, the operation that writes a journal entry is interrupted and the system sends an inquiry message that notifies the system operator.">Work with inoperable journal receivers</a></div>
<div><a href="rzakiibmjrn.htm" title="The operating system and some licensed programs use journals to provide audit trails and assist with recovery.">Work with IBM-supplied journals</a></div>
<div><a href="rzakinewrcvr.htm" title="To swap journal receivers on a remote journal, perform a swap journal receiver operation on the source system to attach a new receiver to a local journal. When this happens, the remote journal function automatically attaches a new receiver to the remote journals that are currently being maintained synchronously or asynchronously.">Swap journal receiver operations with remote journals</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../rzaiu/rzaiurzaiu300.htm">Save your server while it is active</a></div>
<div><a href="rzakirecovrcvdmg.htm" title="If a journal receiver becomes damaged, the system sends message CPF8136 or message CPF8137 to the system operator and the job log.">Recover a damaged journal receiver</a></div>
<div><a href="rzakirecovdtails.htm" title="A description of the recovery process for remote journaling.">Details: Recovery for remote journaling scenario</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="swapajournalreceiver"><a name="swapajournalreceiver"><!-- --></a><h2 class="topictitle2">Swap a journal receiver with iSeries Navigator</h2>
<div><div class="section">To swap a journal receiver with iSeries Navigator, without changing options
proceed as follows:</div>
<ol><li><span>In the <span class="uicontrol">iSeries Navigator</span> window, expand
the system you want to use.</span></li>
<li><span>Expand <span class="uicontrol">Databases</span>.</span></li>
<li><span>Expand the database that you want to work with and <span class="uicontrol">Schemas</span>.</span></li>
<li><span>Right-click the journal you want to use and select <span class="uicontrol">Swap
Receivers</span>. The system generates a new name when it creates the
receiver.</span></li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="ss"><a name="ss"><!-- --></a><h2 class="topictitle2">Change options when you swap a journal receiver with iSeries Navigator</h2>
<div><div class="section">To change options when you swap a journal receiver with iSeries Navigator
proceed as follows:</div>
<ol><li><span>In the <span class="uicontrol">iSeries Navigator</span> window, expand
the system you want to use.</span></li>
<li><span>Expand <span class="uicontrol">Databases</span>.</span></li>
<li><span>Expand the database that you want to work with and <span class="uicontrol">Schemas</span>.</span></li>
<li><span>Double-click the journal you want to use.</span></li>
<li><span>Select <span class="uicontrol">Swap receivers</span> and the journaling
options you want to use.</span></li>
<li><img src="./delta.gif" alt="Start of change" /><span>Click <span class="uicontrol">OK</span>. The <span class="uicontrol">Journal
properties</span> dialog closes. The new journal receiver is automatically
created and attached.</span><img src="./deltaend.gif" alt="End of change" /></li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="chgjrncommand"><a name="chgjrncommand"><!-- --></a><h2 class="topictitle2">The CHGJRN command</h2>
<div><div class="section"><p>Use JRNRCV(*GEN) on the <span class="cmdname">Change Journal (CHGJRN)</span> command
to create the new receiver with the same attributes as the currently attached
receiver, and in the same library. These attributes include the owner, private
authorities, public authority, object auditing, ASP identifier, threshold,
and text.</p>
<p>You must use the <span class="cmdname">CHGJRN</span> command to change
the journaling options to one of the following:</p>
<ul><li>Specify a journal receiver-size option.</li>
<li>Specify that objects allow journal entries to have minimized entry-specific
data.</li>
<li>Specify a different journal receiver threshold value using
the Journal Receiver Threshold (THRESHOLD) parameter in combination with the
JRNRCV(*GEN) parameter.</li>
<li>Specify the data that is included in the fixed-length portion of the journal
entries.</li>
<li>Specify the time to delay the next attempt to automatically attach or
delete a new journal receiver with system journal receiver management.</li>
<li>Specify journal caching.</li>
<li>Specify journal standby state.</li>
<li>Change the journal recovery count.</li>
<li>Change the journal object limit.</li>
</ul>
<div class="cautiontitle">CAUTION:</div><div class="caution">If you use save-while-active operations to save
objects before they reach a commitment boundary, ensure that you save the
journal receiver after you detach it. If you delete the journal receiver before
it is saved, you can lose the ability to recover any pending transactions
for those objects.</div>
</div>
</div>
</div>
</body>
</html>