272 lines
8.2 KiB
HTML
272 lines
8.2 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>End Journal Object (ENDJRNOBJ)</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="ENDJRNOBJ.Top_Of_Page"></a>
|
||
|
<h2>End Journal Object (ENDJRNOBJ)</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="#ENDJRNOBJ.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ENDJRNOBJ.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ENDJRNOBJ.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ENDJRNOBJ"></a>
|
||
|
<p>The End Journal Object (ENDJRNOBJ) command is used to end journaling of changes for an object or list of objects.
|
||
|
</p>
|
||
|
<p>All objects, of object types *DTAARA and *DTAQ, that are currently being journaled to a specific journal may also have journaling stopped.
|
||
|
</p>
|
||
|
<p>For other ways to end journaling see the following commands:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Access paths - End Journal Access Path (ENDJRNAP)
|
||
|
</li>
|
||
|
<li>Integrated file system objects - End Journal (ENDJRN)
|
||
|
</li>
|
||
|
<li>Physical files - End Journal Physical File (ENDJRNPF)
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Objects specified on the command cannot be in use for any reason at the time the command is running.
|
||
|
</li>
|
||
|
<li>If OBJ(*ALL) or OBJTYPE(*ALL) is specified, a journal name must be specified (JRN parameter).
|
||
|
</li>
|
||
|
<li>If a journal name and a list of object names are specified, all objects must be currently journaled to the indicated journal.
|
||
|
</li>
|
||
|
<li>The specified journal must be a local journal.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ENDJRNOBJ.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="#ENDJRNOBJ.OBJ"><b>OBJ</b></a></td>
|
||
|
<td valign="top">Object</td>
|
||
|
<td valign="top">Single values: *ALL<br>Other values (up to 300 repetitions): <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Object</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="#ENDJRNOBJ.OBJTYPE"><b>OBJTYPE</b></a></td>
|
||
|
<td valign="top">Object type</td>
|
||
|
<td valign="top">*DTAARA, *DTAQ, *ALL</td>
|
||
|
<td valign="top">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#ENDJRNOBJ.JRN"><b>JRN</b></a></td>
|
||
|
<td valign="top">Journal</td>
|
||
|
<td valign="top">Single values: <b><u>*OBJ</u></b><br>Other values: <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional, Positional 3</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></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ENDJRNOBJ.OBJ"></a>
|
||
|
<h3>Object (OBJ)</h3>
|
||
|
<p>Specifies a maximum of 300 objects for which changes are no longer to be journaled.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All objects of the specified object types that are currently being journaled to the indicated journal are to stop having their changes journaled.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 1: Object</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>object-name</i></b></dt>
|
||
|
<dd>Specify the name of the object for which journaling is to be ended.
|
||
|
</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>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDJRNOBJ.OBJTYPE"></a>
|
||
|
<h3>Object type (OBJTYPE)</h3>
|
||
|
<p>Specifies the object type for which journaling is to be ended.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*DTAARA</b></dt>
|
||
|
<dd>Data area objects are to have their journaling ended.
|
||
|
</dd>
|
||
|
<dt><b>*DTAQ</b></dt>
|
||
|
<dd>Data queue objects are to have their journaling ended.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All objects of the object types that are supported on this command are to have their journaling ended.
|
||
|
<p>
|
||
|
<b>Note: </b>If OBJTYPE(*ALL) is specified, then OBJ(*ALL) must also be specified.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDJRNOBJ.JRN"></a>
|
||
|
<h3>Journal (JRN)</h3>
|
||
|
<p>Specifies the qualified name of the journal to which changes in the objects are currently being journaled.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*OBJ</u></b></dt>
|
||
|
<dd>The journal is determined by the system from the specified object name and object type.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 1: Journal</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>journal-name</i></b></dt>
|
||
|
<dd>Specify the name of the journal to which the indicated objects are currently being journaled.
|
||
|
</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>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDJRNOBJ.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: End Journaling All Data Areas and Data Queues</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDJRNOBJ OBJ(*ALL) OBJTYPE(*ALL) JRN(MYLIB/MYJRN)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command stops journaling all changes to all objects of type *DTAARA and *DTAQ to journal MYJRN in library MYLIB.
|
||
|
</p>
|
||
|
<p><b>Example 2: End Journaling for Specific Data Area</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDJRNOBJ OBJ(DTALIB/MYDTAARA) OBJTYPE(*DTAARA)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command stops the journaling of all changes to data area MYDTAARA in library DTALIB.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDJRNOBJ.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF700B</b></dt>
|
||
|
<dd>&1 of &2 objects have ended journaling.
|
||
|
</dd>
|
||
|
<dt><b>CPF705A</b></dt>
|
||
|
<dd>Operation failed due to remote journal.
|
||
|
</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>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="#ENDJRNOBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|