265 lines
12 KiB
HTML
265 lines
12 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 Network Job Entry (CHGNETJOBE)</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="CHGNETJOBE.Top_Of_Page"></a>
|
||
|
<h2>Change Network Job Entry (CHGNETJOBE)</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="#CHGNETJOBE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGNETJOBE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGNETJOBE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGNETJOBE"></a>
|
||
|
<p>The Change Network Job Entry (CHGNETJOBE) command changes an existing network job entry in the system. The network job entry is used to determine the action taken when an input stream is sent to a user using the Submit Network Job (SBMNETJOB) command.
|
||
|
</p>
|
||
|
<p>This entry determines whether the input stream is automatically submitted, placed on the queue of network files for a user, or rejected. The entry also specifies the user profile that is used for checking the authority to the job description referred to in the input stream. There should be one entry for each user or distribution group who submit jobs to the system. There is a network attribute, JOBACN (Job Action), that provides overall control of network job submission; its value must be *SEARCH before the network job table is searched for an action. If the network attribute is *REJECT, all incoming jobs are rejected. If the network attribute is *FILE, all incoming network jobs are saved in the user's queue of network files regardless of the network job entry.
|
||
|
</p>
|
||
|
<p>Each network job entry is identified by the two-part user ID of the sender. When an input stream arrives, the user ID of the sending user is used to find a network job entry. If no entry is found, the second part of the user ID is used to find an entry, using *ANY for the first part. If this search fails, a search is made using *ANY for both parts of the user ID. If no entry is found, the job is rejected.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>This command is shipped with public *EXCLUDE authority.
|
||
|
</li>
|
||
|
<li>The internal value for a node identifier may differ from the characters shown by the CHGNETJOBE command depending on the type of work station (language) you are using. If the byte-string value specified for the FROMUSRID parameter does not match the rules for an internal node identifier value, or if it does not match the internal value for any defined node (ignoring case differences), an error may be reported.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGNETJOBE.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="#CHGNETJOBE.FROMUSRID"><b>FROMUSRID</b></a></td>
|
||
|
<td valign="top">User ID</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Key, 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: User ID qualifier</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGNETJOBE.ACTION"><b>ACTION</b></a></td>
|
||
|
<td valign="top">Network job action</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *FILE, *REJECT, *SUBMIT</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGNETJOBE.SBMUSER"><b>SBMUSER</b></a></td>
|
||
|
<td valign="top">User profile</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b></td>
|
||
|
<td valign="top">Optional, Positional 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CHGNETJOBE.MSGQ"><b>MSGQ</b></a></td>
|
||
|
<td valign="top">Message queue</td>
|
||
|
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF, *NONE<br>Other values: <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Message queue</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CHGNETJOBE.JOBQ"><b>JOBQ</b></a></td>
|
||
|
<td valign="top">Job queue</td>
|
||
|
<td valign="top">Single values: <b><u>*SAME</u></b><br>Other values: <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Job queue</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGNETJOBE.FROMUSRID"></a>
|
||
|
<h3>User ID (FROMUSRID)</h3>
|
||
|
<p>Specifies the two-part user ID of the user who submits an input stream to this system. Any input streams received from the user are handled as specified in this network job entry. Both parts of the user ID are required. A special value of *ANY can be entered for the first part or for both parts of the user ID.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>Depending on the type of work station you are using, the internal value for a user identifier may differ from the characters shown by the Work with Network Job Entry (WRKNETJOBE) command. If the byte-string value specified for the FROMUSRID parameter does not match the rules for an internal user identifier value, or if it does not match the internal value for any enrolled user, an error may be reported.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGNETJOBE.ACTION"></a>
|
||
|
<h3>Network job action (ACTION)</h3>
|
||
|
<p>Specifies the action that is taken for a job controlled by this entry.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The option in the job entry remains the same.
|
||
|
</dd>
|
||
|
<dt><b>*REJECT</b></dt>
|
||
|
<dd>The input stream is rejected.
|
||
|
</dd>
|
||
|
<dt><b>*FILE</b></dt>
|
||
|
<dd>The input stream is placed on the queue of network files received for the user to whom the input stream is sent.
|
||
|
</dd>
|
||
|
<dt><b>*SUBMIT</b></dt>
|
||
|
<dd>The input stream is submitted to a batch job queue. The user profile specified in the network job entry is used to check for the required authority to the job queues.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGNETJOBE.SBMUSER"></a>
|
||
|
<h3>User profile (SBMUSER)</h3>
|
||
|
<p>Specifies the user profile name under which the jobs are submitted. This user profile is used to check the authority to the job queues and job descriptions specified in the input stream. The value specified for this parameter is effective if ACTION(*SUBMIT) is specified either on this command or on the Add Network Job Entry (ADDNETJOBE) command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*SAME</b></dt>
|
||
|
<dd>The user profile that submits the jobs in the job entry does not change.
|
||
|
</dd>
|
||
|
<dt><b><i>user-profile</i></b></dt>
|
||
|
<dd>Specify the name of the user profile that is used to submit the jobs.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGNETJOBE.MSGQ"></a>
|
||
|
<h3>Message queue (MSGQ)</h3>
|
||
|
<p>Specifies the name and library of the message queue to which messages are sent after an input stream arrives. A message is also sent to the history log (QHST) when an input stream is received.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*SAME</b></dt>
|
||
|
<dd>The message queue in the job entry does not change.
|
||
|
</dd>
|
||
|
<dt><b>*USRPRF</b></dt>
|
||
|
<dd>The message queue of the user profile to whom the job was sent is used.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>No message is sent to a user; however, a message is sent to the history log.
|
||
|
</dd>
|
||
|
<dt><b><i>message-queue-name</i></b></dt>
|
||
|
<dd>Specify the name of the message queue that is used to receive messages.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>The library list is used to locate the message queue.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is used to locate the message queue. If no library is specified as the current library for the job, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the library where the message queue is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGNETJOBE.JOBQ"></a>
|
||
|
<h3>Job queue (JOBQ)</h3>
|
||
|
<p>Specifies the name and library of the job queue on which the job entries are placed. A job is placed on this queue for each job in the input stream that specified *RDR on the <b>Job queue</b> prompt (JOBQ parameter) of the BCHJOB command. If *RDR is not specified on the BCHJOB command, the job queue specified on the BCHJOB command or in the job description is used. (The job queue for each job in the input stream can be different.) This parameter is valid only if ACTION(*SUBMIT) is specified on this command, in the existing network job entry, or in a subsequent Change Network Job Entry (CHGNETJOBE) command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The job queue in the job entry does not change.
|
||
|
</dd>
|
||
|
<dt><b><i>job-queue-name</i></b></dt>
|
||
|
<dd>Specify the name of the job queue that is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>The library list is used to locate the job queue.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is used to locate the job queue. If no library is specified as the current library for the job, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the library where the job queue is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGNETJOBE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGNETJOBE FROMUSRID(JOHN SMITH) SBMUSER(ANDERSON)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command changes the network job entry that is used to determine the action taken for any input stream received from user JOHN SMITH. The option and the message queue in the existing entry are not changed. The user profile that is used to check the authority to the job queues and job descriptions specified in the input stream is changed to ANDERSON.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGNETJOBE.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF8050</b></dt>
|
||
|
<dd>Network job table could not be accessed.
|
||
|
</dd>
|
||
|
<dt><b>CPF8051</b></dt>
|
||
|
<dd>*ANY not correct for second part of user ID.
|
||
|
</dd>
|
||
|
<dt><b>CPF8053</b></dt>
|
||
|
<dd>Network job entry &1 &2 not changed.
|
||
|
</dd>
|
||
|
<dt><b>CPF9040</b></dt>
|
||
|
<dd>Wrong characters used in User ID or address, or List identifier &1 &2.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGNETJOBE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|