113 lines
7.8 KiB
HTML
113 lines
7.8 KiB
HTML
<?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="Change the state of local journals" />
|
|
<meta name="abstract" content="Local journals can be in one of two states, active or standby. When the journal state of a local journal is active, journal entries are allowed to be deposited to the journal receiver." />
|
|
<meta name="description" content="Local journals can be in one of two states, active or standby. When the journal state of a local journal is active, journal entries are allowed to be deposited to the journal receiver." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakimanagejrn.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakiguivsgs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakifinder.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../apis/QJOCHGST.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgjrn.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakiifsissue.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="rzakichgjrnstate" />
|
|
<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>Change the state of local journals</title>
|
|
</head>
|
|
<body id="rzakichgjrnstate"><a name="rzakichgjrnstate"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Change the state of local journals</h1>
|
|
<div><p>Local journals can be in one of two states, active or standby.
|
|
When the journal state of a local journal is active, journal entries are allowed
|
|
to be deposited to the journal receiver.</p>
|
|
<div class="section"><p>To put a journal in standby state use the Change Journal (CHGJRN)
|
|
command. You can also use iSeries™ Navigator or the CHGJRN command to change
|
|
the state of a journal back to active.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakimanagejrn.htm" title="Provides tasks to manage your journaling environment.">Manage journals</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzakiguivsgs.htm" title="There are two environments that you can use for journal management: iSeries Navigator and the character-based interface. iSeries Navigator provides a graphical interface for journaling that is easy to use and does not require the use of control language (CL) commands. The character-based interface requires the use of CL commands or APIs, but has more functionality than iSeries Navigator.">iSeries Navigator versus the character-based interface for journaling objects</a></div>
|
|
<div><a href="rzakiifsissue.htm" title="If you plan to replay the integrated file system operations in the remote journal to objects on the target system, and if you primed that target system with objects that were restored from the source system, then some additional considerations apply to replaying those journal entries.">File identifier considerations for working with integrated file system entries</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../apis/QJOCHGST.htm">Change Journal State (QjoChangeJournalState) API</a></div>
|
|
<div><a href="../cl/chgjrn.htm">Change Journal (CHGJRN) command</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="rzakifinder.htm">Journal entry information finder</a></div>
|
|
</div>
|
|
</div><div class="nested1" xml:lang="en-us" id="standbystate"><a name="standbystate"><!-- --></a><h2 class="topictitle2">Standby state</h2>
|
|
<div><div class="section"><p>Journal standby state is a separately purchased feature that prevents
|
|
most journal entries from being entered into the journal. Standby state is
|
|
option 42 of the i5/OS<sup>®</sup> operating system. You can start or stop journaling
|
|
while the journal is in standby. However, while a journal is in standby state,
|
|
you cannot use explicit commitment control. Also, databases files that have
|
|
referential integrity constraints or data links defined cannot be used when
|
|
a journal is in standby state. The operating system needs to use commitment
|
|
control for these functions. However, referential integrity constraints can
|
|
be used in standby state if RESTRICT is specified on the ON UPDATE or ON DELETE
|
|
attribute for the constraint.</p>
|
|
<p>An example of when you might want to put
|
|
a journal on standby state is if the journal is on a backup system. By having
|
|
the journal in standby state, a switchover to the target system can be accomplished
|
|
more quickly because all objects on the backup system can be journaled thus
|
|
allowing the switchover processing to skip the costly step of starting journaling
|
|
for all objects. At the same time though, the backup system is not incurring
|
|
the overhead of journaling because most journal entries are not deposited
|
|
when the journal is in standby state.</p>
|
|
<p>If there is an attempt to deposit
|
|
a journal entry when the journal is in standby state, no entry is deposited,
|
|
but no error messages are sent to the application. Journal codes 'J' and entry
|
|
types 'SI' and 'SX' are deposited when the local journal is put into and out
|
|
of standby. Furthermore, there are some journal entries that will be deposited
|
|
in a journal, even though the journal state is standby. Use the Journal entry
|
|
information finder to see if a journal entry is still deposited even though
|
|
the journal in standby state.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="nested1" xml:lang="en-us" id="activestate"><a name="activestate"><!-- --></a><h2 class="topictitle2">Active state</h2>
|
|
<div><div class="section"><p>When a local journal is created, the journal state of that journal
|
|
is *ACTIVE. This means that journal entries can be deposited to the local
|
|
journal. If a local journal is in standby state, journal entries with journal
|
|
code 'J' and entry type 'LA' are deposited when the local journal is activated.</p>
|
|
<p>If
|
|
a local journal has been put in standby state, activate it by doing the following:</p>
|
|
</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 you want to work with and <span class="uicontrol">Schemas</span>.</span></li>
|
|
<li><span>Click the Schema that contains the journal you want to activate.</span></li>
|
|
<li><span>Right-click the journal, and select <span class="uicontrol">Properties</span>.</span></li>
|
|
<li><span>On the <span class="uicontrol">Journal Properties</span> dialog box select <span class="uicontrol">Activate
|
|
journal</span></span></li>
|
|
</ol>
|
|
<div class="section"><p>You can also use the Change Journal State (QjoChangeJournalState)
|
|
API or Change Journal (CHGJRN) command to activate the local journal.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |