199 lines
7.0 KiB
HTML
199 lines
7.0 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>Change Server Auth Entry (CHGSVRAUTE)</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="CHGSVRAUTE.Top_Of_Page"></a>
|
|
<h2>Change Server Auth Entry (CHGSVRAUTE)</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="#CHGSVRAUTE.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGSVRAUTE.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGSVRAUTE.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGSVRAUTE"></a>
|
|
<p>The Change Server Authentication Entry (CHGSVRAUTE) command changes existing authentication information entries for a user profile. The authentication information is for use by application requesters in connecting to application servers.
|
|
</p>
|
|
<p><b>Restrictions:</b> You must have security administrator (*SECADM) special authority, and object management (*OBJMGT) and use (*USE) authorities to the user profile for which the server authentication entry is to be changed, or else be signed on under that user profile, to run this command.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGSVRAUTE.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="#CHGSVRAUTE.USRPRF"><b>USRPRF</b></a></td>
|
|
<td valign="top">User profile</td>
|
|
<td valign="top"><i>Simple name</i>, *CURRENT</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSVRAUTE.SERVER"><b>SERVER</b></a></td>
|
|
<td valign="top">Server</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Required, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSVRAUTE.USRID"><b>USRID</b></a></td>
|
|
<td valign="top">User ID</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *USRPRF</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSVRAUTE.PASSWORD"><b>PASSWORD</b></a></td>
|
|
<td valign="top">User password</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGSVRAUTE.USRPRF"></a>
|
|
<h3>User profile (USRPRF)</h3>
|
|
<p>Specifies the user profile for which the server authentication entry is to be changed.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*CURRENT</b></dt>
|
|
<dd>The server authentication entry will be changed for the current user profile.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the user profile for which the server authentication entry is to be changed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSVRAUTE.SERVER"></a>
|
|
<h3>Server (SERVER)</h3>
|
|
<p>Specifies the name of the application server for which the entry is to be changed. You can specify a maximum of 200 characters.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Refer to the documentation for the server that you are using to determine if there are any values that have special meaning. For example, the server name QDDMSERVER has special meaning if you are using the Distributed Data Management (DDM) server.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSVRAUTE.USRID"></a>
|
|
<h3>User ID (USRID)</h3>
|
|
<p>Specifies the user name for which requests will be made to the application server.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The user ID specified on connection requests to the server does not change.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The name specified in the user profile parameter will be the user ID specified on connection requests to the server.
|
|
</dd>
|
|
<dt><b><i>'user-name'</i></b></dt>
|
|
<dd>The user ID to be used on connection requests. Specify no more than 1000 characters.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSVRAUTE.PASSWORD"></a>
|
|
<h3>User password (PWD)</h3>
|
|
<p>Specifies the password to be used to authenticate the user when the client attempts to connect to the server.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>If the retain server security data (QRETSVRSEC) system value is set to 0 (do not retain data), then the password will not be saved in the entry.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The password does not change.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No password is supplied.
|
|
</dd>
|
|
<dt><b><i>'password'</i></b></dt>
|
|
<dd>Spcify the password associated with the user ID. Specify no more than 696 characters.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGSVRAUTE.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Changing a default remote user ID and password for the current user</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGSVRAUTE USRPRF(*CURRENT) SERVER(*ANY) USRID('JOHN')
|
|
PASSWORD('XU53W4')
|
|
</pre>
|
|
</p>
|
|
<p>This command changes a server authentication entry for the currently signed on user specifying that for connection requests to any server for which there is no specific authentication entry, a remote user ID of JOHN and a password of XU53W4 is to be used.
|
|
</p>
|
|
<p><b>Example 2: Changing an entry for another user for a specific server</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CHGSVRAUTE USRPRF(SUSAN) SERVER('MPLS_RDB') USRID(*SAME)
|
|
PASSWORD('S23084')
|
|
</pre>
|
|
</p>
|
|
<p>This command changes the password for the user SUSAN when connecting to the server named MPLS_RDB.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGSVRAUTE.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF2204</b></dt>
|
|
<dd>User profile &1 not found.
|
|
</dd>
|
|
<dt><b>CPF2213</b></dt>
|
|
<dd>Not able to allocate user profile &1.
|
|
</dd>
|
|
<dt><b>CPF2222</b></dt>
|
|
<dd>Storage limit is greater than specified for user profile &1.
|
|
</dd>
|
|
<dt><b>CPF225E</b></dt>
|
|
<dd>Server authentication entry does not exist.
|
|
</dd>
|
|
<dt><b>CPF225F</b></dt>
|
|
<dd>Not all information stored.
|
|
</dd>
|
|
<dt><b>CPF226C</b></dt>
|
|
<dd>Not authorized to perform function.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSVRAUTE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|