501 lines
21 KiB
HTML
501 lines
21 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 Journaled Object (CHGJRNOBJ)</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="CHGJRNOBJ.Top_Of_Page"></a>
|
||
|
<h2>Change Journaled Object (CHGJRNOBJ)</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="#CHGJRNOBJ.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGJRNOBJ.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGJRNOBJ.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGJRNOBJ"></a>
|
||
|
<p>The Change Journaled Object (CHGJRNOBJ) command changes the journaling attributes of a journaled object without the need to end and restart journaling for the object.
|
||
|
</p>
|
||
|
<p>The command can be used to change the <b>Images (IMAGES)</b> value for a database file (*FILE) or a data area (*DTAARA) object without the need to end and restart journaling for the object. Otherwise the Start Journal Physical File (STRJRNPF) can be used to set this value for database files. The Start Journal (STRJRN) or the Start Journal Object (STRJRNOBJ) can be used to set this value for data areas.
|
||
|
</p>
|
||
|
<p>The command can be used to change the <b>Omit journal entry (OMTJRNE)</b> value for a database file (*FILE), an integrated file system stream file (*STMF) or directory (*DIR) object without the need to end and restart journaling for the object. Otherwise the Start Journal Physical File (STRJRNPF) can be used to set this value for database files. The Start Journal (STRJRN) can be used to set this value for integrated file system objects.
|
||
|
</p>
|
||
|
<p>The command can be used to change the <b>New objects inherit journaling (INHERIT)</b> value for an integrated file system directory (*DIR) object without the need to end and restart journaling for the object. Otherwise the Start Journal (STRJRN) can be used to set this value for integrated file system objects.
|
||
|
</p>
|
||
|
<p>The command can also be used to allow a database file (*FILE), that contains changes for partial transactions, to be used. Partial transactions can only exist for an object that can be changed under commitment control. Database file objects (*FILE) are the only objects that can be opened using commitment control.
|
||
|
</p>
|
||
|
<p>Partial transactions can exist for two reasons:
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>The most common reason that an object may have partial transactions is that the object was saved while it was in the middle of a transaction and this saved version has been restored. In this case, the preferred method to complete all partial transactions is to use the Apply Journaled Changes (APYJRNCHG) or Remove Journaled Changes (RMVJRNCHG) command. If the journal receivers needed for APYJRNCHG or RMVJRNCHG are not available, then as a last resort, the <b>Partial transactions (PTLTNS)</b> parameter can be used to allow the database file to be opened and used, without completing the transactions.
|
||
|
</li>
|
||
|
<li>The other reason that partial transactions may exist is that the object was involved in a long running rollback operation that was interrupted. In this case, APYJRNCHG and RMVJRNCHG cannot be used to complete the partial transactions. If there is no saved version of the file to restore, then as a last resort, the <b>Partial transactions (PTLTNS)</b> parameter can be used to allow the file to be opened and used, without completing the transaction.
|
||
|
</li>
|
||
|
</ol>
|
||
|
<p>If a change does not apply to an object type, the objects of that type are ignored and processing continues with the next object. Also, if the object already has the correct value for the attribute being changed no error will be returned.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Only one journaling attribute can be changed at a time.
|
||
|
</li>
|
||
|
<li>Changing the IMAGES, OMTJRNE and INHERIT parameters can only be done if the object specified is currently being journaled.
|
||
|
</li>
|
||
|
<li>All object (*ALLOBJ) special authority is required if PTLTNS(*ALWUSE) is specified.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGJRNOBJ.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="5"><a href="#CHGJRNOBJ.OBJ"><b>OBJ</b></a></td>
|
||
|
<td valign="top">Objects</td>
|
||
|
<td valign="top">Values (up to 300 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="5">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Object</td>
|
||
|
<td valign="top">
|
||
|
<i>Qualified object name</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Object</td>
|
||
|
<td valign="top"><i>Name</i>, *ALL</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: Object type</td>
|
||
|
<td valign="top">
|
||
|
*FILE, *DTAARA</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CHGJRNOBJ.OBJPATH"><b>OBJPATH</b></a></td>
|
||
|
<td valign="top">Objects</td>
|
||
|
<td valign="top">Values (up to 300 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Name</td>
|
||
|
<td valign="top">
|
||
|
<i>Path name</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Include or omit</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*INCLUDE</u></b>, *OMIT</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.OBJFID"><b>OBJFID</b></a></td>
|
||
|
<td valign="top">File identifier</td>
|
||
|
<td valign="top">Values (up to 300 repetitions): <i>Hexadecimal value</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.SUBTREE"><b>SUBTREE</b></a></td>
|
||
|
<td valign="top">Directory subtree</td>
|
||
|
<td valign="top"><b><u>*NONE</u></b>, *ALL</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CHGJRNOBJ.PATTERN"><b>PATTERN</b></a></td>
|
||
|
<td valign="top">Name pattern</td>
|
||
|
<td valign="top">Values (up to 20 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Pattern</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Include or omit</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*INCLUDE</u></b>, *OMIT</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.ATR"><b>ATR</b></a></td>
|
||
|
<td valign="top">Attribute</td>
|
||
|
<td valign="top">*IMAGES, *OMTJRNE, *INHERIT, *PTLTNS</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.IMAGES"><b>IMAGES</b></a></td>
|
||
|
<td valign="top">Images</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *AFTER, *BOTH</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.OMTJRNE"><b>OMTJRNE</b></a></td>
|
||
|
<td valign="top">Omit journal entry</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *NONE, *OPNCLOSYN</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.INHERIT"><b>INHERIT</b></a></td>
|
||
|
<td valign="top">New objects inherit journaling</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGJRNOBJ.PTLTNS"><b>PTLTNS</b></a></td>
|
||
|
<td valign="top">Partial transactions</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *ALWUSE</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGJRNOBJ.OBJ"></a>
|
||
|
<h3>Objects (OBJ)</h3>
|
||
|
<p>Specifies an object or list of objects for which their journaling attributes are to be changed.
|
||
|
</p>
|
||
|
<p><b>Element 1: Object</b>
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Object</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All objects in the specified library of the specified type who are currently being journaled have their journaling attributes changed. The library name must be specified. If *ALL is specified and the user does not have the required authority for all objects in the library, a message is sent and the processing continues with the next object. Objects that match the specified selection criteria, but are not currently being journaled are ignored.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the object that is to have its journaling attributes changed.
|
||
|
</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, QGPL 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: Object type</b>
|
||
|
</p>
|
||
|
<p>Specify the object type of the object that is to have its journaling attributes changed.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*DTAARA</b></dt>
|
||
|
<dd>Journaling attributes for data areas are changed.
|
||
|
</dd>
|
||
|
<dt><b>*FILE</b></dt>
|
||
|
<dd>Journaling attributes for database file members are changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.OBJPATH"></a>
|
||
|
<h3>Objects (OBJPATH)</h3>
|
||
|
<p>Specifies a maximum of 300 objects for which journaling attributes are to be changed. Only objects whose path name identifies an object of type *STMF, *DIR, *SYMLNK, *DTAARA, or *FILE that is in the "root" (/), QOpenSys, or user-defined file systems are supported. Objects found that match the specified selection criteria but are not currently being journaled are ignored.
|
||
|
</p>
|
||
|
<p><b>Element 1: Name</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>path-name</i></b></dt>
|
||
|
<dd>Specify the name of the object that is to have its journaling attributes changed.
|
||
|
<p>Symbolic links within the path name will not be followed.
|
||
|
</p>
|
||
|
<p>Additional information about path name patterns is in the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The second element specifies whether names that match the path name or a pattern should be included or omitted from the operation. Note that in determining whether a name matches a pattern, relative name patterns are always treated as relative to the current working directory.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>The SUBTREE parameter specifies whether the subtrees are included or omitted.
|
||
|
</p>
|
||
|
<p><b>Element 2: Include or omit</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*INCLUDE</u></b></dt>
|
||
|
<dd>The objects that match the object name pattern are to be included in the list of objects for which journaling attributes are to be changed, unless overridden by an *OMIT specification.
|
||
|
</dd>
|
||
|
<dt><b>*OMIT</b></dt>
|
||
|
<dd>The objects that match the object name pattern are not to be included in the list of objects for which journaling attributes are to be changed. This overrides an *INCLUDE specification and is intended to be used to omit a subset of a previously selected pattern.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.OBJFID"></a>
|
||
|
<h3>File identifier (OBJFID)</h3>
|
||
|
<p>Specifies a maximum of 300 file identifiers (FIDs) for which journaling attributes are to be changed. FIDs are a unique identifier associated with integrated file system related objects. This field is input in hexadecimal format. Only objects whose FID identifies an object of type *STMF, *DIR, *SYMLNK, *DTAARA, or *FILE are supported.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>file-identifier</i></b></dt>
|
||
|
<dd>Objects identified with the FID have their attributes changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.SUBTREE"></a>
|
||
|
<h3>Directory subtree (SUBTREE)</h3>
|
||
|
<p>Specifies whether the directory subtrees are included in determining the objects for which journaling attributes are to be changed.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is only valid if one or more path names were specified on the <b>Objects (OBJPATH)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>Only the objects that match the selection criteria are processed. The objects within selected directories are not implicitly processed.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All objects that meet the selection criteria are processed in addition to the entire subtree of each directory that matches the selection criteria. The subtree includes all sub-directories and the objects within those sub-directories.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.PATTERN"></a>
|
||
|
<h3>Name pattern (PATTERN)</h3>
|
||
|
<p>Specifies a maximum of 20 patterns to be used to include or omit objects for which journaling attributes are to be changed.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is only valid if one or more path names were specified on the <b>Objects (OBJPATH)</b> parameter.
|
||
|
</p>
|
||
|
<p><b>Element 1: Pattern</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>'*'</u></b></dt>
|
||
|
<dd>All objects that match the OBJPATH parameter are to be included.
|
||
|
</dd>
|
||
|
<dt><b><i>name-pattern</i></b></dt>
|
||
|
<dd>Specify the pattern to be used to include or omit objects for which journaling attributes will be changed. Only the last part of the path name will be considered for the name pattern match. Path name delimiters are not allowed in the name pattern.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Additional information about path name patterns is in the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
<p>The second element specifies whether names that match the pattern should be included or omitted from the operation. Note that in determining whether a name matches a pattern, relative name patterns are always treated as relative to the current working directory.
|
||
|
</p>
|
||
|
<p><b>Element 2: Include or omit</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*INCLUDE</u></b></dt>
|
||
|
<dd>The objects that match the object name pattern are included in the operation, unless overridden by an *OMIT specification.
|
||
|
</dd>
|
||
|
<dt><b>*OMIT</b></dt>
|
||
|
<dd>The objects that match the object name pattern are not to be included in the operation. This overrides an *INCLUDE specification and is intended to be used to omit a subset of a previously selected pattern.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.ATR"></a>
|
||
|
<h3>Attribute (ATR)</h3>
|
||
|
<p>Specifies which attribute will be selected to be changed.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*IMAGES</b></dt>
|
||
|
<dd>The attribute controlled by the <b>Images (IMAGES)</b> parameter is to be changed.
|
||
|
</dd>
|
||
|
<dt><b>*OMTJRNE</b></dt>
|
||
|
<dd>The attribute controlled by the <b>Omit journal entry (OMTJRNE)</b> parameter is to be changed.
|
||
|
</dd>
|
||
|
<dt><b>*INHERIT</b></dt>
|
||
|
<dd>The attribute controlled by the <b>New objects inherit journaling (INHERIT)</b> parameter is to be changed.
|
||
|
</dd>
|
||
|
<dt><b>*PTLTNS</b></dt>
|
||
|
<dd>The attribute controlled by the <b>Partial transactions (PTLTNS)</b> parameter is to be changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.IMAGES"></a>
|
||
|
<h3>Images (IMAGES)</h3>
|
||
|
<p>Specifies the kinds of images that are written to the journal receiver for changes to objects.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>This value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*AFTER</b></dt>
|
||
|
<dd>Only <i>after</i> images are generated for changes to objects.
|
||
|
</dd>
|
||
|
<dt><b>*BOTH</b></dt>
|
||
|
<dd>The system generates both <i>before</i> and <i>after</i> images for changes to objects.
|
||
|
<p>
|
||
|
<b>Note: </b>The value *BOTH is only valid for data area (*DTAARA) and database file (*FILE) objects.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.OMTJRNE"></a>
|
||
|
<h3>Omit journal entry (OMTJRNE)</h3>
|
||
|
<p>Specifies the journal entries that are omitted.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>This value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>No entries are omitted.
|
||
|
</dd>
|
||
|
<dt><b>*OPNCLOSYN</b></dt>
|
||
|
<dd>Open and close entries are omitted for *FILE objects. Open, close and force entries are omitted for *DIR and *STMF objects. Open, close and force operations on the specified objects do not generate open, close and force journal entries. This prevents the use of TOJOBO and TOJOBC entries on the Apply Journaled Changes (APYJRNCHG) command, but it saves some storage space in the journal receivers.
|
||
|
<p>
|
||
|
<b>Note: </b>The value *OPNCLOSYN is only valid for *FILE, *DIR and *STMF objects.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>The value *OPNCLOSYN is the same as OMTJRNE(*OPNCLO) on the STRJRNPF command for *FILE objects.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.INHERIT"></a>
|
||
|
<h3>New objects inherit journaling (INHERIT)</h3>
|
||
|
<p>Specifies whether new objects created within a journaled directory should inherit the journal options and the journal state of its parent directory.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>The INHERIT parameter is only valid for *DIR objects.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>This value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*NO</b></dt>
|
||
|
<dd>New objects created within the directory will not inherit the journal options and journal state of the parent directory.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>New objects created within the directory will inherit the journal options and journal state of the parent directory.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGJRNOBJ.PTLTNS"></a>
|
||
|
<h3>Partial transactions (PTLTNS)</h3>
|
||
|
<p>Specifies whether an object that contains changes for partial transactions can be used or not.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>The PTLTNS parameter is only valid for *FILE objects.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>This value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*ALWUSE</b></dt>
|
||
|
<dd>The object that contains changes for partial transactions is changed to allow it to be used but the partial transactions are not themselves completed. Any changes to the object that are pending because of the partial transactions will remain in the object.
|
||
|
<p>
|
||
|
<b>Note: </b>All object (*ALLOBJ) special authority is required if *ALWUSE is specified.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGJRNOBJ.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Change File Journaling Attribute IMAGES</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGJRNOBJ OBJ((LIBA/FILEA *FILE)) ATR(*IMAGES) IMAGES(*BOTH)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will change the attribute of file FILEA in library LIBA to now journal both before and after images for the file without having to end journaling and start journaling of the file.
|
||
|
</p>
|
||
|
<p><b>Example 2: Change File Journaling Attribute OMTJRNE</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGJRNOBJ OBJ((LIBB/FILEB *FILE)) ATR(*OMTJRNE) OMTJRNE(*OPNCLOSYN)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will change the attribute of file FILEB in library LIBB to now omit open and close entries.
|
||
|
</p>
|
||
|
<p><b>Example 3: Change Object Journaling Attribute OMTJRNE</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGJRNOBJ OBJFID(00000000000000007E09BDB000000009)
|
||
|
ATR(*OMTJRNE) OMTJRNE(*OPNCLOSYN)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will change the attribute of the object represented by the specified file identifier to now omit open, close and force entries. This object can be an object of type *DIR or *STMF.
|
||
|
</p>
|
||
|
<p><b>Example 4: Change File Attribute PTLTNS</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGJRNOBJ OBJ((LIBC/FILEC *FILE)) ATR(*PTLTNS) PTLTNS(*ALWUSE)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will change the file so that it can be used again, however the partial transactions are not themselves completed. This method should only be used in rare circumstances when the file could not be recovered by applying or removing the journaled changes.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGJRNOBJ.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF7057</b></dt>
|
||
|
<dd>*LIBL not allowed with FILE(*ALL) or OBJ(*ALL).
|
||
|
</dd>
|
||
|
<dt><b>CPF70B1</b></dt>
|
||
|
<dd>&1 of &2 objects changed.
|
||
|
</dd>
|
||
|
<dt><b>CPF70B2</b></dt>
|
||
|
<dd>&2 may not be specified with ATR(*&1).
|
||
|
</dd>
|
||
|
<dt><b>CPF70B3</b></dt>
|
||
|
<dd>Not authorized to use the PTLTNS parameter.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|