247 lines
8.8 KiB
HTML
247 lines
8.8 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>Delete Journal (DLTJRN)</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="DLTJRN.Top_Of_Page"></a>
|
||
|
<h2>Delete Journal (DLTJRN)</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="#DLTJRN.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DLTJRN.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DLTJRN.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DLTJRN"></a>
|
||
|
<p>The Delete Journal (DLTJRN) command deletes the specified journal or journals from the system.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Objects cannot be journaled to the specified journal, nor can any job that used this journal for commitment control still be active, when this command is issued. To determine if any objects are being journaled, issue the Work with Journal Attributes (WRKJRNA) command.
|
||
|
<ul>
|
||
|
<li>If any objects are being journaled, issue the End Journal Access Path (ENDJRNAP), End Journal (ENDJRN), End Journal Object (ENDJRNOBJ), and End Journal Physical File (ENDJRNPF) commands to end journaling.
|
||
|
</li>
|
||
|
<li>If any job that used this journal for commitment control is still active, issue the End Job (ENDJOB) command for each active job.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>A journal cannot be deleted if it is actively receiving journal entries from its source journal or replicating journal entries to another remote journal. To determine the remote journaling information for a journal, use the Work with Journal Attributes (WRKJRNA) command. For more information regarding remote journaling, see the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTJRN.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DLTJRN.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="#DLTJRN.JRN"><b>JRN</b></a></td>
|
||
|
<td valign="top">Journal</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Journal</td>
|
||
|
<td valign="top"><i>Generic name, name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *USRLIBL, *ALL, *ALLUSR</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTJRN.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DLTJRN.JRN"></a>
|
||
|
<h3>Journal (JRN)</h3>
|
||
|
<p>Specifies the name and library of the journal or journals being deleted. A specific journal name or a generic journal name can be specified; either type of journal name can be optionally qualified by a library name.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Journal</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>journal-name</i></b></dt>
|
||
|
<dd>Specify the name of the journal that is being deleted. If *LIBL or *USRLIBL is specified as the library name, only the first journal found to have this name is deleted. If *ALLUSR or *ALL is specified for the library name, journal objects by the name specified can be deleted from multiple libraries.
|
||
|
</dd>
|
||
|
<dt><b><i>generic*-journal-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the journal that is being deleted. A generic name can be specified as a character string that contains one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name.
|
||
|
</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 thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*USRLIBL</b></dt>
|
||
|
<dd>If a current library entry exists in the library list for the current thread, the current library and the libraries in the user portion of the library list are searched. If there is no current library entry, only the libraries in the user portion of the library list are searched.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*ALLUSR</b></dt>
|
||
|
<dd>All user libraries are searched. All libraries with names that do not begin with the letter Q are searched except for the following:
|
||
|
<p>
|
||
|
<pre>
|
||
|
#CGULIB #DSULIB #SEULIB
|
||
|
#COBLIB #RPGLIB
|
||
|
#DFULIB #SDALIB
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx
|
||
|
QGPL QSRVAGT QUSRINFSKR
|
||
|
QGPL38 QSYS2 QUSRNOTES
|
||
|
QMGTC QSYS2xxxxx QUSROND
|
||
|
QMGTC2 QS36F QUSRPOSGS
|
||
|
QMPGDATA QUSER38 QUSRPOSSA
|
||
|
QMQMDATA QUSRADSM QUSRPYMSVR
|
||
|
QMQMPROC QUSRBRM QUSRRDARS
|
||
|
QPFRDATA QUSRDIRCL QUSRSYS
|
||
|
QRCL QUSRDIRDB QUSRVI
|
||
|
</pre>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>'xxxxx' is the number of a primary auxiliary storage pool (ASP).
|
||
|
</li>
|
||
|
<li>A different library name, in the format QUSRVxRxMx, can be created by the user for each previous release supported by IBM to contain any user commands to be compiled in a CL program for the previous release. For the QUSRVxRxMx user library, VxRxMx is the version, release, and modification level of a previous release that IBM continues to support.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All libraries in the system, including QSYS, are searched.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b><i>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="#DLTJRN.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTJRN.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTJRN JRN(MYLIB/JRNLA)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes the journal named JRNLA in library MYLIB from the system.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTJRN.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTJRN.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF2105</b></dt>
|
||
|
<dd>Object &1 in &2 type *&3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2110</b></dt>
|
||
|
<dd>Library &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2113</b></dt>
|
||
|
<dd>Cannot allocate library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF2114</b></dt>
|
||
|
<dd>Cannot allocate object &1 in &2 type *&3.
|
||
|
</dd>
|
||
|
<dt><b>CPF2117</b></dt>
|
||
|
<dd>&4 objects type *&3 deleted. &5 objects not deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF2125</b></dt>
|
||
|
<dd>No objects deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF2153</b></dt>
|
||
|
<dd>Journal QAUDJRN in library QSYS not deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF2154</b></dt>
|
||
|
<dd>Objects of type authority holder cannot be displayed.
|
||
|
</dd>
|
||
|
<dt><b>CPF2160</b></dt>
|
||
|
<dd>Object type *&1 not eligible for requested function.
|
||
|
</dd>
|
||
|
<dt><b>CPF2176</b></dt>
|
||
|
<dd>Library &1 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF2182</b></dt>
|
||
|
<dd>Not authorized to library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF2189</b></dt>
|
||
|
<dd>Not authorized to object &1 in &2 type *&3.
|
||
|
</dd>
|
||
|
<dt><b>CPF70EA</b></dt>
|
||
|
<dd>Cannot delete journal &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF70E1</b></dt>
|
||
|
<dd>Cannot delete journal &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF701B</b></dt>
|
||
|
<dd>Journal recovery of an interrupted operation failed.
|
||
|
</dd>
|
||
|
<dt><b>CPF7021</b></dt>
|
||
|
<dd>Cannot delete journal &1 in &2.
|
||
|
</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>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="#DLTJRN.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|