ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/endjrnap.htm

262 lines
7.8 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 Access Path (ENDJRNAP)</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="ENDJRNAP.Top_Of_Page"></a>
<h2>End Journal Access Path (ENDJRNAP)</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="#ENDJRNAP.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENDJRNAP.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENDJRNAP.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENDJRNAP"></a>
<p>The End Journal Access Path (ENDJRNAP) command is used to end the journaling of the access paths of a journaled file.
</p>
<p>All access paths 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>Integrated file system objects - End Journal (ENDJRN)
</li>
<li>Physical files - End Journal Physical File (ENDJRNPF)
</li>
<li>Other objects - End Journal Object (ENDJRNOBJ)
</li>
</ul>
<p><b>Restrictions:</b>
</p>
<ul>
<li>The access paths for the files specified on the command cannot be in use for any reason at the time the command is running.
</li>
<li>Overrides are not applied to the files listed in the FILE parameter.
</li>
<li>If FILE(*ALL) is specified, a journal name must be specified.
</li>
<li>If a journal name and a list of file names are specified, then all the access paths for the listed files must be currently journaled to the indicated journal.
</li>
<li>Journaling entries for any physical file does not end by the running of this command.
</li>
<li>The specified journal must be a local journal.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDJRNAP.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="#ENDJRNAP.FILE"><b>FILE</b></a></td>
<td valign="top">Journaled file</td>
<td valign="top">Single values: *ALL<br>Other values (up to 50 repetitions): <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Journaled file</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="3"><a href="#ENDJRNAP.JRN"><b>JRN</b></a></td>
<td valign="top">Journal</td>
<td valign="top">Single values: <b><u>*FILE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 2</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="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENDJRNAP.FILE"></a>
<h3>Journaled file (FILE)</h3>
<p>Specifies a maximum of 50 database files for which the journaling of access paths are to be ended.
</p>
<p>This is a required parameter.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All current journaling of access paths to the indicated journal are ended.
</dd>
</dl>
<p><b>Qualifier 1: Journaled file</b>
</p>
<dl>
<dt><b><i>file-name</i></b></dt>
<dd>Specify the name and library of the database file for which access paths for the journal entry are 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="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENDJRNAP.JRN"></a>
<h3>Journal (JRN)</h3>
<p>Specifies the journal to which journaling of the access paths for the indicated files are being ended.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*FILE</u></b></dt>
<dd>The journal name is determined by the system from the specified file names.
</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.
</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="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDJRNAP.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ENDJRNAP FILE(MYLIB/MYFILE)
</pre>
</p>
<p>This command ends the journaling for all access paths of the file MYFILE in the library MYLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDJRNAP.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF6972</b></dt>
<dd>Cannot allocate access path for file &amp;1 in &amp;2.
</dd>
<dt><b>CPF7008</b></dt>
<dd>Cannot start or end access path journaling for file &amp;1.
</dd>
<dt><b>CPF703C</b></dt>
<dd>DDL transaction prevents journaling operation.
</dd>
<dt><b>CPF703D</b></dt>
<dd>DDL transaction prevents journaling operation.
</dd>
<dt><b>CPF703E</b></dt>
<dd>DDL transaction prevents journaling operation.
</dd>
<dt><b>CPF7032</b></dt>
<dd>ENDJRNPF or ENDJRNAP command failed.
</dd>
<dt><b>CPF7033</b></dt>
<dd>Start or end journaling failed for member &amp;3.
</dd>
<dt><b>CPF7034</b></dt>
<dd>Logical damage of file &amp;1 in &amp;2.
</dd>
<dt><b>CPF705A</b></dt>
<dd>Operation failed due to remote journal.
</dd>
<dt><b>CPF708D</b></dt>
<dd>Journal receiver found logically damaged.
</dd>
<dt><b>CPF9801</b></dt>
<dd>Object &amp;2 in library &amp;3 not found.
</dd>
<dt><b>CPF9802</b></dt>
<dd>Not authorized to object &amp;2 in &amp;3.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9812</b></dt>
<dd>File &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9822</b></dt>
<dd>Not authorized to file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPF9830</b></dt>
<dd>Cannot assign library &amp;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 &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDJRNAP.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>