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

225 lines
8.6 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>Work with Directory Entries (WRKDIRE)</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="WRKDIRE.Top_Of_Page"></a>
<h2>Work with Directory Entries (WRKDIRE)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#WRKDIRE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKDIRE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKDIRE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKDIRE"></a>
<p>The Work with Directory Entries (WRKDIRE) command allows you to work with a set of panels to view, add, change, and remove entries in the distribution directory. When the WRKDIRE command is entered, the system shows either one or all of the entries in the system distribution directory, depending on the parameters specified. If the parameter specified applies to more than one directory entry, the system displays a list of directory entries. If the parameter identifies a specific directory user, the system displays a list of entries for which that user has authority.
</p>
<p><b>Restriction:</b> You must have security administrator authority (*SECADM) to update all entries in the directory. Restrictions on the data entries that can be updated apply when this command is run without *SECADM authority. General access to view and print the directory is provided by the DSPDIRE command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKDIRE.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="#WRKDIRE.USRID"><b>USRID</b></a></td>
<td valign="top">User identifier</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: User ID</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: Address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top"><a href="#WRKDIRE.USER"><b>USER</b></a></td>
<td valign="top">User profile</td>
<td valign="top"><i>Name</i>, *CURRENT</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#WRKDIRE.CMDCHRID"><b>CMDCHRID</b></a></td>
<td valign="top">Command character identifier</td>
<td valign="top">Single values: <b><u>*SYSVAL</u></b>, *DEVD<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Graphic character set</td>
<td valign="top">
<i>Integer</i></td>
</tr>
<tr>
<td valign="top">Element 2: Code page</td>
<td valign="top">
<i>Integer</i></td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKDIRE.USRID"></a>
<h3>User identifier (USRID)</h3>
<p>Specifies the user ID and the address of user for whom the request is made. If the USRID parameter is specified, the USER parameter cannot be specified.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All directory entries in the system distribution directory are shown. The entries are shown in alphabetical order by the user ID and address.
</dd>
</dl>
<p>The possible user ID value is:
</p>
<dl>
<dt><b><i>user-ID</i></b></dt>
<dd>Specify the user ID of the user for whom the directory entry is shown.
</dd>
</dl>
<p>The possible user address value is:
</p>
<dl>
<dt><b><i>user-ID</i></b></dt>
<dd>Specify the user address of the user for whom the directory entry is shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKDIRE.USER"></a>
<h3>User profile (USER)</h3>
<p>Specifies, by user profile, which directory entry to display. If the user profile has no directory entries associated with it, an error message is sent. If the USER parameter is specified, the USRID parameter cannot be specified.
</p>
<dl>
<dt><b>*CURRENT</b></dt>
<dd>The user profile under which the current job is running is used.
</dd>
<dt><b><i>user-profile-name</i></b></dt>
<dd>Specify the user profile of a directory entry shown. This is the 10-character profile used to sign on the system.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKDIRE.CMDCHRID"></a>
<h3>Command character identifier (CMDCHRID)</h3>
<p>Specifies the character identifier (graphic character set and code page) for data being specified as parameter values on this command. This character identifier (CHRID) is related to the display device used to specify the command. More information about CHRID processing is in the Application Display Programming book, SC41-5715.
</p>
<dl>
<dt><b><u>*SYSVAL</u></b></dt>
<dd>The system determines the graphic character set and code page values for the command parameters from the QCHRID system values.
</dd>
<dt><b>*DEVD</b></dt>
<dd>The system determines the graphic character set and code page values for the command parameter from the display device description where the command is entered. This option is valid only when specified from an interactive job. If this value is specified in an interactive CL program or a batch job, an error message is sent.
</dd>
</dl>
<p>The possible character set value is:
</p>
<dl>
<dt><b><i>graphic-character-set</i></b></dt>
<dd>Specify the graphic character set values used to create the command parameters. Valid values range from 1 through 9999.
</dd>
</dl>
<p>The possible code page value is:
</p>
<dl>
<dt><b><i>code-page</i></b></dt>
<dd>Specify the code page. Valid values range from 1 through 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDIRE.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Using WRKDIRE with Administrator Authority</b>
</p>
<p>
<pre>
WRKDIRE USRID(HURST NEWYORK)
</pre>
</p>
<p>Assume the user who is running this command has administrator authority. If the user ID and address of HURST NEWYORK exists in the directory, the Work with Directory Entries panel is shown listing all entries for HURST NEWYORK.
</p>
<p><b>Example 2: Using WRKDIRE with Security Administrator Authority</b>
</p>
<p>
<pre>
WRKDIRE USER(JONES)
</pre>
</p>
<p>Assume the user who is running this command has security administrator authority. If the user profile of JONES exists in the directory, the Work with Directory Entries panel displays the entry with the user profile name of JONES. Multiple entries are displayed if JONES has more than one description.
</p>
<p><b>Example 3: Using WRKDIRE with Security Administrator Authority</b>
</p>
<p>
<pre>
WRKDIRE
</pre>
</p>
<p>Assume the user who is running this command has security administrator authority. The Work with Directory Entries panel displays a listing of all entries in the directory.
</p>
<p><b>Example 4: Using WRKDIRE Without Security Administrator Authority</b>
</p>
<p>
<pre>
WRKDIRE
</pre>
</p>
<p>Assume the user who is running this command does not have security administrator authority. The Change Your Directory Details panel is displayed for this user. A message appears on the message line of this panel indicating that this user is authorized only to change the user's directory entry.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDIRE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9006</b></dt>
<dd>User not enrolled in system distribution directory.
</dd>
<dt><b>CPF905C</b></dt>
<dd>Error occurred trying to find a translation table.
</dd>
<dt><b>CPF9838</b></dt>
<dd>User profile storage limit exceeded.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDIRE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>