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

106 lines
3.1 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>Check Password (CHKPWD)</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="CHKPWD.Top_Of_Page"></a>
<h2>Check Password (CHKPWD)</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="#CHKPWD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHKPWD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHKPWD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHKPWD"></a>
<p>The Check Password (CHKPWD) command checks a password for the user running the command and determines its validity. If the password is correct, no message is sent. If the password is not correct, an error message is sent.
</p>
<p>The password is the security key that allows a user to sign on to the system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHKPWD.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="#CHKPWD.PASSWORD"><b>PASSWORD</b></a></td>
<td valign="top">User password</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHKPWD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHKPWD.PASSWORD"></a>
<h3>User password (PASSWORD)</h3>
<p>Specifies a password value that is checked for validity.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>character-string</i></b></dt>
<dd>Specify the password value to be checked.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKPWD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHKPWD PASSWORD(JOHNJONES)
</pre>
</p>
<p>This command checks whether the current password is JOHNJONES.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKPWD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2362</b></dt>
<dd>Password not correct.
</dd>
<dt><b>CPF2363</b></dt>
<dd>Only 1 attempt left to check password.
</dd>
<dt><b>CPF2364</b></dt>
<dd>Maximum number of attempts to check password reached.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKPWD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>