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

150 lines
4.9 KiB
HTML
Raw 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>Check In Object (CHKIN)</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="CHKIN.Top_Of_Page"></a>
<h2>Check In Object (CHKIN)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#CHKIN.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHKIN.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHKIN.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHKIN"></a>
<p>The Check In Object (CHKIN) command checks in an object that had previously been checked out.
</p>
<p>For more information about integrated file system commands, see the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>To check in an object that the user has checked out, the user must have write (*W) authority to the object.
</li>
<li>To check in an object that someone else has checked out, the user must own the object or have one of the following:
<ul>
<li>All (*ALL) authority to the object
</li>
<li>All object (*ALLOBJ) special authority
</li>
</ul>
</li>
<li>The user must have execute (*X) authority to each directory in the path.
</li>
<li>Not all file systems support the CHKIN command.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKIN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHKIN.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"><a href="#CHKIN.OBJ"><b>OBJ</b></a></td>
<td valign="top">Object</td>
<td valign="top"><i>Path name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHKIN.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHKIN.OBJ"></a>
<h3>Object (OBJ)</h3>
<p>Specifies the path name of the object or a pattern to match the path name or names of objects to be checked in.
</p>
<p>The object path name can be either a simple name or a name that is qualified with the name of the directory in which the object is located. A pattern can be specified in the last part of the path name. An asterisk (*) matches any number of characters and a question mark (?) matches a single character. If the path name is qualified or contains a pattern, it must be enclosed in apostrophes.
</p>
<p>For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKIN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKIN.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Checking an Object In</b>
</p>
<p>
<pre>
CHKIN OBJ('W')
</pre>
</p>
<p>This command checks in file W in your current directory. If another user has the file checked out and this user has sufficient authority, the file is checked in.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKIN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKIN.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFA09C</b></dt>
<dd>Not authorized to object. Object is &amp;1.
</dd>
<dt><b>CPFA09D</b></dt>
<dd>Error occurred in program &amp;1.
</dd>
<dt><b>CPFA0A1</b></dt>
<dd>An input or output error occurred.
</dd>
<dt><b>CPFA0A3</b></dt>
<dd>Path name resolution causes looping.
</dd>
<dt><b>CPFA0A7</b></dt>
<dd>Path name too long.
</dd>
<dt><b>CPFA0A9</b></dt>
<dd>Object not found. Object is &amp;1.
</dd>
<dt><b>CPFA0AB</b></dt>
<dd>Operation failed for object. Object is &amp;1.
</dd>
<dt><b>CPFA0AD</b></dt>
<dd>Function not supported by file system.
</dd>
<dt><b>CPFA0B2</b></dt>
<dd>No objects satisfy request.
</dd>
<dt><b>CPFA0BE</b></dt>
<dd>&amp;1 objects checked in. &amp;2 objects failed.
</dd>
<dt><b>CPFA0BF</b></dt>
<dd>&amp;1 objects checked out. &amp;2 objects failed.
</dd>
<dt><b>CPFA0DA</b></dt>
<dd>Object is a directory. Object is &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKIN.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>