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

1175 lines
48 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 Job Description (CHGJOBD)</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="CHGJOBD.Top_Of_Page"></a>
<h2>Change Job Description (CHGJOBD)</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="#CHGJOBD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGJOBD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGJOBD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGJOBD"></a>
<p>The Change Job Description (CHGJOBD) command changes the job-related attributes contained in a job description object. Any attribute can be changed, except for the authority attribute. Refer to the Revoke Object Authority (RVKOBJAUT) command and Grant Object Authority (GRTOBJAUT) command for more information on changing object authorizations.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>To use this command, you must have:
<ul>
<li>object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
</li>
<li>use (*USE) authority to the user profile specified in the <b>User (USER)</b> parameter.
</li>
</ul>
</li>
<li>To change the <b>Accounting code (ACGCDE)</b> parameter to a value other than *USRPRF, you must have use (*USE) authority to the Change Accounting Code (CHGACGCDE) command.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGJOBD.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="#CHGJOBD.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job description</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="#CHGJOBD.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, Positional 3</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><tr>
<td valign="top"><a href="#CHGJOBD.JOBPTY"><b>JOBPTY</b></a></td>
<td valign="top">Job priority (on JOBQ)</td>
<td valign="top">1-9, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.OUTPTY"><b>OUTPTY</b></a></td>
<td valign="top">Output priority (on OUTQ)</td>
<td valign="top">1-9, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.PRTDEV"><b>PRTDEV</b></a></td>
<td valign="top">Print device</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *USRPRF, *SYSVAL, *WRKSTN</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGJOBD.OUTQ"><b>OUTQ</b></a></td>
<td valign="top">Output queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF, *DEV, *WRKSTN<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Output 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"><a href="#CHGJOBD.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.USER"><b>USER</b></a></td>
<td valign="top">User</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *RQD</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.ACGCDE"><b>ACGCDE</b></a></td>
<td valign="top">Accounting code</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *USRPRF, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.PRTTXT"><b>PRTTXT</b></a></td>
<td valign="top">Print text</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *SYSVAL, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.RTGDTA"><b>RTGDTA</b></a></td>
<td valign="top">Routing data</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *RQSDTA</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.RQSDTA"><b>RQSDTA</b></a></td>
<td valign="top">Request data or command</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *NONE, *RTGDTA</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.INLLIBL"><b>INLLIBL</b></a></td>
<td valign="top">Initial library list</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSVAL, *NONE<br>Other values (up to 250 repetitions): <i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.INLASPGRP"><b>INLASPGRP</b></a></td>
<td valign="top">Initial ASP group</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="#CHGJOBD.LOG"><b>LOG</b></a></td>
<td valign="top">Message logging</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="4">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Level</td>
<td valign="top">
0-4, <b><u>*SAME</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Severity</td>
<td valign="top">
0-99, <b><u>*SAME</u></b></td>
</tr>
<tr>
<td valign="top">Element 3: Text</td>
<td valign="top">
<b><u>*SAME</u></b>, *MSG, *SECLVL, *NOLIST</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.LOGCLPGM"><b>LOGCLPGM</b></a></td>
<td valign="top">Log CL program commands</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.LOGOUTPUT"><b>LOGOUTPUT</b></a></td>
<td valign="top">Job log output</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *JOBLOGSVR, *JOBEND, *PND</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.JOBMSGQMX"><b>JOBMSGQMX</b></a></td>
<td valign="top">Job message queue maximum size</td>
<td valign="top">2-64, <b><u>*SAME</u></b>, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.JOBMSGQFL"><b>JOBMSGQFL</b></a></td>
<td valign="top">Job message queue full action</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *NOWRAP, *WRAP, *PRTWRAP</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.SYNTAX"><b>SYNTAX</b></a></td>
<td valign="top">CL syntax check</td>
<td valign="top">0-99, <b><u>*SAME</u></b>, *NOCHK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.ENDSEV"><b>ENDSEV</b></a></td>
<td valign="top">End severity</td>
<td valign="top">0-99, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.INQMSGRPY"><b>INQMSGRPY</b></a></td>
<td valign="top">Inquiry message reply</td>
<td valign="top"><b><u>*SAME</u></b>, *RQD, *DFT, *SYSRPYL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.HOLD"><b>HOLD</b></a></td>
<td valign="top">Hold on job queue</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.DATE"><b>DATE</b></a></td>
<td valign="top">Job date</td>
<td valign="top"><i>Date</i>, <b><u>*SAME</u></b>, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.SWS"><b>SWS</b></a></td>
<td valign="top">Job switches</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.DEVRCYACN"><b>DEVRCYACN</b></a></td>
<td valign="top">Device recovery action</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *MSG, *DSCMSG, *DSCENDRQS, *ENDJOB, *ENDJOBNOLIST</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.TSEPOOL"><b>TSEPOOL</b></a></td>
<td valign="top">Time slice end pool</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *NONE, *BASE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.ALWMLTTHD"><b>ALWMLTTHD</b></a></td>
<td valign="top">Allow multiple threads</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.SPLFACN"><b>SPLFACN</b></a></td>
<td valign="top">Spooled file action</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *KEEP, *DETACH</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGJOBD.DDMCNV"><b>DDMCNV</b></a></td>
<td valign="top">DDM conversation</td>
<td valign="top"><b><u>*SAME</u></b>, *KEEP, *DROP</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGJOBD.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the name and library of the job description being changed.
</p>
<p>
<b>Note: </b>You cannot specify the job description QSYSJOBD on this parameter. This job description is the backup job description for the system and cannot be changed by the user.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the job description is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.JOBQ"></a>
<h3>Job queue (JOBQ)</h3>
<p>Specifies the name and library of the default job queue where jobs submitted using this job description are placed.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job queue does not change.
</dd>
</dl>
<p><b>Qualifier 1: Job queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job queue.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the job queue is located.
<p>
<b>Note: </b>If the job queue does not exist when the job description is changed, a library qualifier must be specified because the qualified job queue name is kept in the job description.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.JOBPTY"></a>
<h3>Job priority (on JOBQ) (JOBPTY)</h3>
<p>Specifies the job queue scheduling priority used for jobs that use this job description. The highest priority is 1 and the lowest priority is 9.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The scheduling priority does not change.
</dd>
</dl>
<dl>
<dt><b><i>1-9</i></b></dt>
<dd>Specify the scheduling priority of jobs that use this job description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.OUTPTY"></a>
<h3>Output priority (on OUTQ) (OUTPTY)</h3>
<p>Specifies the output priority of spooled output files produced by jobs that use this job description. The highest priority is 1 and the lowest priority is 9.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The output priority for spooled output does not change.
</dd>
</dl>
<dl>
<dt><b><i>1-9</i></b></dt>
<dd>Specify a value ranging from 1 through 9 for the output priority of the spooled output files that are produced by jobs that use this job description. The highest priority is 1 and the lowest priority is 9.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.PRTDEV"></a>
<h3>Print device (PRTDEV)</h3>
<p>Specifies the qualified name of the default printer device for this job. If the printer file being used to create the output specifies to spool the file, the spooled file is placed on the device's output queue, which is named the same as the device.
</p>
<p>
<b>Note: </b>This assumes the defaults are specified on the <b>Output queue (OUTQ)</b> parameter for the printer file, job description, user profile and workstation.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The default printer device does not change.
</dd>
</dl>
<dl>
<dt><b>*USRPRF</b></dt>
<dd>The printer device specified on the user profile associated with the job at the time the job is started is used
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value in the system value QPRTDEV at the time the job is started is used as the printer device.
</dd>
<dt><b>*WRKSTN</b></dt>
<dd>The printer device assigned to the work station that is associated with the job at the time the job is started is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the printer device that is used by jobs that use this job description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.OUTQ"></a>
<h3>Output queue (OUTQ)</h3>
<p>Specifies the name and library of the output queue used as the default output queue for jobs that use this job description. This parameter applies only to spooled printer files that specify *JOB for the output queue.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The default output queue does not change.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The output queue name for jobs using this job description is taken from the user profile associated with the job at the time the job is started.
</dd>
<dt><b>*DEV</b></dt>
<dd>The output queue associated with the printer specified on the <b>Device (DEV)</b> parameter of the printer file is used. The output queue has the same name as the printer. The printer file DEV parameter is determined by the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or the Override with Printer File (OVRPRTF) commands.
<p>
<b>Note: </b>This assumes the defaults were specified on the <b>Output queue (OUTQ)</b> parameter for the printer file, job description, user profile, and workstation.
</p>
</dd>
<dt><b>*WRKSTN</b></dt>
<dd>The output queue used with this job description is the output queue assigned to the work station that is associated with the job at the time the job is started.
</dd>
</dl>
<p><b>Qualifier 1: Output queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the output queue.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the output queue is located.
<p>
<b>Note: </b>If the output queue does not exist when the job description is changed, a library qualifier must be specified, because the qualified output queue name is kept in the job description.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The text, if any, is not changed.
</dd>
</dl>
<dl>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.USER"></a>
<h3>User (USER)</h3>
<p>Specifies the name of the user profile associated with this job description. The names QSECOFR, QSPL, QDOC, QDBSHR, QRJE, QSYS, QLPAUTO, QLPINSTALL, QTSTRQS, and QDFTOWN are not valid entries for this parameter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The name of the user profile does not change.
</dd>
<dt><b>*RQD</b></dt>
<dd>A user name is required to use the job description. For work station entries, you must enter a user name when signing on at the work station; the associated user name becomes the name used for the job. *RQD is not valid for job descriptions specified for autostart job entries or for those used by the Batch Job (BCHJOB) command. It is valid on the Submit Job (SBMJOB) command only if *CURRENT is specified on the <b>User (USER)</b> parameter.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the user name that identifies the user profile associated with batch jobs using this job description. For interactive jobs, this is the default user name used to sign on the system without typing a user name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.ACGCDE"></a>
<h3>Accounting code (ACGCDE)</h3>
<p>Specifies the accounting code that is used when logging system resource use for jobs that use this description. If the job is submitted by the Submit Job (SBMJOB) command, the submitter's accounting code is used. To specify an accounting code other than *USRPRF, you must be authorized to the Change Accounting Code (CHGACGCDE) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The accounting code does not change.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The accounting code for jobs using this job description is obtained from the user profile associated with the job.
</dd>
</dl>
<dl>
<dt><b>*BLANK</b></dt>
<dd>An accounting code of 15 blanks is assigned to jobs that use this job description.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the accounting code for jobs that use this job description and have accounting statistics logged in the system accounting journal QACGJRN. If less than 15 characters are entered, the string is padded with blanks on the right.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.PRTTXT"></a>
<h3>Print text (PRTTXT)</h3>
<p>Specifies the printing of a line of text at the bottom of each page.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The print text does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value in the system value QPRTTXT is used.
</dd>
</dl>
<dl>
<dt><b>*BLANK</b></dt>
<dd>No text is printed.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the character string that is printed at the bottom of each page. A maximum of 30 characters can be entered enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.RTGDTA"></a>
<h3>Routing data (RTGDTA)</h3>
<p>Specifies the routing data used with this job description to start jobs.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The routing data does not change.
</dd>
</dl>
<dl>
<dt><b>*RQSDTA</b></dt>
<dd>Up to the first 80 characters of the request data specified on the <b>Request data or command (RQSDTA)</b> parameter are used as the routing data for the job.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the routing data for jobs that use this job description. A maximum of 80 characters can be typed (enclosed in apostrophes if necessary).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.RQSDTA"></a>
<h3>Request data or command (RQSDTA)</h3>
<p>Specifies the request data that is placed as the last entry in the job's message queue for jobs using this job description.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The request data does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No request data is placed in the job's message queue.
</dd>
</dl>
<dl>
<dt><b>*RTGDTA</b></dt>
<dd>The routing data specified on the <b>Routing data (RTGDTA)</b> parameter is placed as the last entry in the job's message queue.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the character string that is placed as the last entry in the job's message queue as a single request. A maximum of 256 characters can be entered (enclosed in apostrophes if necessary). When a CL command is entered, it must be enclosed in single apostrophes, and where apostrophes would normally be used <b>inside</b> the command, double apostrophes must be used instead.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.INLLIBL"></a>
<h3>Initial library list (INLLIBL)</h3>
<p>Specifies the initial user part of the library list to be used for jobs using this job description.
</p>
<p>
<b>Note: </b>Duplication of library names in the library list is not allowed.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The initial user part of the library list does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The system default library list is used for jobs that use this job description. The default library list contains the library names that were specified in the system value QUSRLIBL at the time a job using this job description is started.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>The user part of the library list is empty; only the system portion is used.
</dd>
</dl>
<p><b>Other values (up to 250 repetitions)</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library in the user part of the library list to be used for jobs using this job description.
</dd>
</dl>
<p>
<b>Note: </b>Libraries are searched in the same order as they are listed here.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.INLASPGRP"></a>
<h3>Initial ASP group (INLASPGRP)</h3>
<p>Specifies the initial setting for the auxiliary storage pool (ASP) group name for the initial thread of jobs using this job description. A thread can use the Set ASP Group (SETASPGRP) command to change its library name space. When an ASP group is associated with a thread, all libraries in the independent ASPs in the ASP group are accessible and objects in those libraries can be referenced using regular library-qualified object name syntax. The libraries in the independent ASPs in the specified ASP group plus the libraries in the system ASP (ASP number 1) and basic user ASPs (ASP numbers 2 - 32) form the library name space for the thread.
</p>
<p><b>Restrictions: </b>
</p>
<ol>
<li>The job descriptions QGPL/QDFTJOBD and QGPL/QDFTSVR cannot be changed to specify the name of an ASP group. For these job descriptions, the INLASPGRP must be *NONE.
</li>
</ol>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>Specifies the initial thread of jobs using this job description will be started with no ASP group. The library name space will not include libraries from any ASP group. Only the libraries in the system ASP and any basic user ASPs will be in the library name space.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specifies the name of the ASP group to be set for the initial thread of jobs using this job description. The ASP group name is the name of the primary ASP device within the ASP group. All libraries from all ASPs in this ASP group will be included in the library name space.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.LOG"></a>
<h3>Message logging (LOG)</h3>
<p>Specifies the message logging values used to determine the amount and type of information sent to the job log by this job. This parameter has three elements: the message (or logging) level, the message severity, and the level of message text.
</p>
<p><b>Element 1: Level </b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The message logging level does not change.
</dd>
</dl>
<dl>
<dt><b><i>0-4</i></b></dt>
<dd>Specify the message logging level to be used for the job's messages.
<dl>
<dt><b>0</b></dt>
<dd>No messages are logged.
</dd>
<dt><b>1</b></dt>
<dd>All messages sent to the job's external message queue with a severity greater than or equal to the message logging severity are logged. This includes the indications of job start, job end, and job completion status.
</dd>
<dt><b>2</b></dt>
<dd>The following information is logged:
<ul>
<li>Logging level 1 information
</li>
<li>Request messages which result in a high-level message with a severity code greater than or equal to the message logging severity. Both the request message and all associated messages are logged.
</li>
</ul>
<p>
<b>Note: </b>A high-level message is one that is sent to the program message queue of the program that receives the request message. For example, QCMD is an IBM-supplied request processing program that receives request messages.
</p>
</dd>
<dt><b>3</b></dt>
<dd>The following information is logged:
<ul>
<li>Logging level 1 and 2 information
</li>
<li>All request messages
</li>
<li>Commands run by a CL program are logged if it is allowed by the logging of CL programs job attribute and the log attribute of the CL program.
</li>
</ul>
</dd>
<dt><b>4</b></dt>
<dd>The following information is logged:
<ul>
<li>All request messages and all messages with a severity greater than or equal to the message logging severity, including trace messages.
</li>
<li>Commands run by a CL program are logged if it is allowed by the logging of CL programs job attribute and the log attribute of the CL program.
</li>
</ul>
</dd>
</dl>
</dd>
</dl>
<p><b>Element 2: Severity </b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The message severity level does not change.
</dd>
</dl>
<dl>
<dt><b><i>0-99</i></b></dt>
<dd>Specify the message severity level to be used in conjunction with the logging level to determine which error messages are logged in the job log.
</dd>
</dl>
<p><b>Element 3: Text </b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The message text level value does not change.
</dd>
<dt><b>*MSG</b></dt>
<dd>Only the message text is written to the job log.
</dd>
<dt><b>*SECLVL</b></dt>
<dd>Both the message text and the message help (cause and recovery) of the error message are written to the job log.
</dd>
<dt><b>*NOLIST</b></dt>
<dd>If the job ends normally, no job log is produced. If the job ends abnormally (if the job end code is 20 or higher), a job log is produced. The messages that appear in the job log contain both the message text and the message help.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.LOGCLPGM"></a>
<h3>Log CL program commands (LOGCLPGM)</h3>
<p>Specifies whether the commands that can be logged and were run in a control language program are logged to the job log by way of the CL program's message queue. This parameter sets the status of the job's logging flag. If *NO is specified, the logging flag status is <b>off</b> and CL commands are not logged. If *YES is specified here and *JOB is specified on the <b>Message logging (LOG)</b> parameter of the Create CL Program (CRTCLPGM) command, all commands in the CL program that can be logged are logged to the job log.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>The commands in a CL program are not logged to the job log.
</dd>
</dl>
<dl>
<dt><b>*YES</b></dt>
<dd>The commands in a CL program are logged to the job log.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.LOGOUTPUT"></a>
<h3>Job log output (LOGOUTPUT)</h3>
<p>Specifies how the job log will be produced when the job completes. This does not affect job logs produced when the message queue is full and the job message queue full action specifies *PRTWRAP. Messages in the job message queue are written to a spooled file, from which the job log can be printed, unless the Control Job Log Output (QMHCTLJL) API was used in the job to specify that the messages in the job log are to be written to a database file.
</p>
<p>The job log output value can be changed at any time until the job log has been produced or removed. To change the job log output value for a job, use the Change Job (QWTCHGJB) API or the Change Job (CHGJOB) command.
</p>
<p>The job log can be displayed at any time until the job log has been produced or removed. To display the job log, use the Display Job Log (DSPJOBLOG) command.
</p>
<p>The job log can be removed when the job has completed and the job log has not yet been produced or removed. To remove the job log, use the Remove Pending Job Log (QWTRMVJL) API or the End Job (ENDJOB) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value specified in the system value QLOGOUTPUT is used.
</dd>
<dt><b>*JOBLOGSVR</b></dt>
<dd>The job log will be produced by a job log server. For more information about job log servers, refer to the Start Job Log Server (STRLOGSVR) command.
</dd>
<dt><b>*JOBEND</b></dt>
<dd>The job log will be produced by the job itself. If the job cannot produce its own job log, the job log will be produced by a job log server. For example, a job does not produce its own job log when the system is processing a Power Down System (PWRDWNSYS) command.
</dd>
<dt><b>*PND</b></dt>
<dd>The job log will not be produced. The job log remains pending until removed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.JOBMSGQMX"></a>
<h3>Job message queue maximum size (JOBMSGQMX)</h3>
<p>Specifies the maximum size of the job message queue.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job message queue maximum size will not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value in QJOBMSGQMX (system value) at the time the job is started is used as the maximum size of the job message queue.
</dd>
<dt><b><i>2-64</i></b></dt>
<dd>Specify the maximum size, in megabytes, of the job message queue.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.JOBMSGQFL"></a>
<h3>Job message queue full action (JOBMSGQFL)</h3>
<p>Specifies the action that should be taken when the job message queue is full.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job message queue full option will not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value specified for the QJOBMSGQFL system value is used.
</dd>
<dt><b>*NOWRAP</b></dt>
<dd>The message queue does not wrap when it is full. This action ends the job.
</dd>
<dt><b>*WRAP</b></dt>
<dd>The message queue wraps to the start of the message queue when it is full and starts filling the message queue again.
</dd>
<dt><b>*PRTWRAP</b></dt>
<dd>The message queue wraps the job message queue when it is full and prints the messages that are being overlaid because of wrapping.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.SYNTAX"></a>
<h3>CL syntax check (SYNTAX)</h3>
<p>Specifies whether requests placed on the job message queue (for jobs using this job description) are checked for syntax as CL commands. When syntax checking is specified, the commands are checked for syntax as they are submitted instead of when the job is run, thus providing an earlier diagnosis of syntax errors. If checking is specified, the message severity that causes a syntax error to end processing of a job is also specified.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The syntax checking does not change.
</dd>
<dt><b>*NOCHK</b></dt>
<dd>The request data is not checked for syntax as CL commands.
</dd>
</dl>
<dl>
<dt><b><i>0-99</i></b></dt>
<dd>Specify the lowest message severity that can cause running of a job to end. The request data is checked for syntax as CL commands. If a syntax error occurs that is equal to or greater than the error message severity specified here, the running of the job containing the erroneous command is suppressed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.ENDSEV"></a>
<h3>End severity (ENDSEV)</h3>
<p>Specifies the message severity level of escape messages that can cause a batch job to be ended. The batch job is ended when a request in the batch input stream results in an escape message whose severity code is equal to or greater than that specified here being sent to the request processing program QCMD or QCL. This parameter value is compared with the severity of any escape message not monitored that occurs as a result of running a noncompiled CL command in a batch job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current value of this parameter does not change.
</dd>
</dl>
<dl>
<dt><b><i>0-99</i></b></dt>
<dd>Specify the message severity of an escape message that results from a request in the batch input stream and that causes the jobs that use this job description to be ended. Because escape messages typically have a maximum severity level of 50, a value of 50 or lower must be specified in order for a job to be ended as a result of an escape message. An unhandled escape message whose severity is equal to or greater than the value specified causes the job to be ended.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.INQMSGRPY"></a>
<h3>Inquiry message reply (INQMSGRPY)</h3>
<p>Specifies the way that inquiry messages are answered for jobs that use this job description. You can specify that inquiry messages are to be answered in the usual manner, that a default reply be issued, or that if certain conditions are met, an answer is issued to the inquiry based on those conditions. The conditions met are listed in the system reply list entries of the Add Reply List Entry (ADDRPYLE) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The method to use for inquiry message replies does not change.
</dd>
<dt><b>*RQD</b></dt>
<dd>A reply is required for any predefined inquiry message that is issued by a job that uses this job description.
</dd>
</dl>
<dl>
<dt><b>*DFT</b></dt>
<dd>The default message reply is used to answer any predefined inquiry messages issued during running of a job that uses this job description. The default reply is either defined in the message description or is the default system reply.
</dd>
<dt><b>*SYSRPYL</b></dt>
<dd>The system reply list is checked to determine whether an entry matches the message identifier and optional compare value for any inquiry message issued by a job that uses this job description. If a match occurs, the reply value in that reply list entry is used. If no entry exists for that message, a reply is required.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.HOLD"></a>
<h3>Hold on job queue (HOLD)</h3>
<p>Specifies whether jobs using this job description are put on the job queue in the hold condition. A job placed on the job queue in the hold condition is held until it is released by the Release Job (RLSJOB) command, or it is ended, either by the End Job (ENDJOB) command or by the Clear Job Queue (CLRJOBQ) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job hold condition does not change.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>Jobs that use this job description are not held when they are put on the job queue.
</dd>
<dt><b>*YES</b></dt>
<dd>Jobs that use this job description are held when they are put on the job queue.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.DATE"></a>
<h3>Job date (DATE)</h3>
<p>Specifies the date that is assigned to the job that uses this job description when the job is started.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job date does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value in the QDATE system value at the time the job is started is used as the job date.
</dd>
</dl>
<dl>
<dt><b><i>date</i></b></dt>
<dd>Specify the job date for the job being started. The format currently specified for the DATFMT job attribute must be used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.SWS"></a>
<h3>Job switches (SWS)</h3>
<p>Specifies the initial switch settings for a group of eight job switches used for jobs that use this job description. These switches can be set or tested in a CL program and used to control the flow of the program. The only values that are valid for each single-digit switch are 0 (off) or 1 (on).
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The eight job switch values do not change.
</dd>
</dl>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify any combination (enclosed in apostrophes if necessary) of eight 0's or 1's to change the job switch settings.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.DEVRCYACN"></a>
<h3>Device recovery action (DEVRCYACN)</h3>
<p>Specifies the recovery action to take for the job when an I/O error is encountered on the *REQUESTOR device for interactive jobs that use this job description. This attribute is ignored for non-interactive jobs.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The work station recovery action does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value in the system value QDEVRCYACN at the time the job is started is used as the device recovery action for this job.
</dd>
<dt><b>*MSG</b></dt>
<dd>The application program requesting the I/O operation receives an error message indicating that the I/O operation has failed.
</dd>
<dt><b>*DSCMSG</b></dt>
<dd>The job is automatically disconnected. Once the job has reconnected, it receives an error message indicating an I/O error has occurred and that the device has been recovered. Even though the device has been recovered, the contents of the screen when the error occurred must be displayed again.
</dd>
<dt><b>*DSCENDRQS</b></dt>
<dd>The job is automatically disconnected. Once the job has reconnected, the End Request (ENDRQS) command is issued specifying the processor that made the previous request. If there is no available request processor, the ENDRQS command fails, and an error message will be issued.
</dd>
<dt><b>*ENDJOB</b></dt>
<dd>The job is ended with the *IMMED option. A job log is produced for the job.
</dd>
<dt><b>*ENDJOBNOLIST</b></dt>
<dd>The job is ended with the *IMMED option. No job log is produced for the job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.TSEPOOL"></a>
<h3>Time slice end pool (TSEPOOL)</h3>
<p>Specifies whether interactive jobs are moved to another main storage pool when the end of the time slice is reached. When a long wait occurs, the job is moved back to the pool in which it was originally running. This may help minimize the effect on interactive response time.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value for the time slice end pool does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The system value in QTSEPOOL at the time the job is started is to be used as the time slice end pool action for this job description.
</dd>
<dt><b>*NONE</b></dt>
<dd>The job is not moved when the end of the time slice is reached.
</dd>
<dt><b>*BASE</b></dt>
<dd>The job is moved to the base pool when the time slice end pool is reached.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.ALWMLTTHD"></a>
<h3>Allow multiple threads (ALWMLTTHD)</h3>
<p>Specifies whether or not the job can run with multiple user threads. This attribute does not prevent the operating system from creating system threads in the job. This job attribute is not allowed to be changed once a job starts. This attribute applies to autostart jobs, prestart jobs, batch jobs submitted from job schedule entries and jobs started using the Submit Job (SBMJOB) and Batch Job (BCHJOB) commands. This attribute is ignored when starting all other types of jobs. This attribute should be set to *YES only in job descriptions used exclusively with functions that create multiple user threads.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>The job cannot run with multiple user threads.
</dd>
<dt><b>*YES</b></dt>
<dd>The job can run with multiple user threads.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.SPLFACN"></a>
<h3>Spooled file action (SPLFACN)</h3>
<p>Specifies whether or not spooled files are accessed through job interfaces after the job ends. Keeping spooled files with jobs allows job commands such as the Work with Submitted Jobs (WRKSBMJOB) command to work with the spooled files even after the job has ended. Detaching spooled files from jobs reduces the use of system resources by allowing job structures to be recycled when the jobs end.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The value specified in the system value QSPLFACN is used.
</dd>
<dt><b>*KEEP</b></dt>
<dd>When the job ends, as long as at least one spooled file for the job exists in the system auxiliary storage pool (ASP 1) or in a basic user ASP (ASPs 2-32), the spooled files are kept with the job and the status of the job is updated to indicate that the job has completed. If all remaining spooled files for the job are in independent ASPs (ASPs 33-255), the spooled files will be detached from the job and the job will be removed from the system.
</dd>
<dt><b>*DETACH</b></dt>
<dd>When the job ends, the spooled files are detached from the job and the job is removed from the system.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGJOBD.DDMCNV"></a>
<h3>DDM conversation (DDMCNV)</h3>
<p>Specifies whether the connections using distributed data management (DDM) protocols remain active when they are not being used. The connections include APPC conversations, active TCP/IP conversations or OptiConnect connections. The DDM protocols are used in Distributed Relational Database Architecture (DRDA) applications, DDM applications, or DB2 Multisystem applications. For more information on distributed data management, see the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*KEEP</b></dt>
<dd>The system keeps DDM conversation connections active when they are no longer being used, except when:
<ul>
<li>The routing step ends on the source system.
</li>
<li>There is an explicit request that conversations be disconnected, using the Reclaim DDM Conversations (RCLDDMCNV) command or the Reclaim Resources (RCLRSC) command.
</li>
<li>There is a communications failure or internal failure.
</li>
<li>A DRDA connection to an application server not running on the iSeries ends.
</li>
</ul>
</dd>
<dt><b>*DROP</b></dt>
<dd>The system ends a DDM-allocated conversation when it is no longer being used. Examples include when an application closes a DDM file, or when a DRDA application runs an SQL DISCONNECT statement.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGJOBD.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Setting Job Running and Output Priorities</b>
</p>
<p>
<pre>
CHGJOBD JOBD(QGPL/QPGMR) JOBPTY(2) OUTPTY(2)
</pre>
</p>
<p>This command allows jobs using the IBM-supplied job description QPGMR in the QGPL library to process with a higher job and output priority than originally specified for QPGMR. QPGMR originally sets job running and output priorities at level 5. More information about the IBM-supplied job description parameter values is in the CL Programming book.
</p>
<p><b>Example 2: Changing Priority Limits</b>
</p>
<p>Assume that the user profile was created as follows:
</p>
<p>Part 1:
</p>
<p>
<pre>
CRTUSRPRF USRPRF(JLRAY) PASSWORD(GAMMA) SPCAUT(*JOBCTL)
PTYLMT(4) AUT(*NONE)
</pre>
</p>
<p>Then attempt to change the priority limits of the job description BATCH5 with the following command:
</p>
<p>Part 2:
</p>
<p>
<pre>
CHGJOBD JOBD(BATCH5) USER(JLRAY) JOBPTY(1) OUTPTY(1)
</pre>
</p>
<p>Because the priority limit specified in the user profile takes precedence over any limit specified in a job description, an error message is sent and a priority of 4 is assumed for both job and output priority levels.
</p>
<p><b>Example 3: Requiring a Password to Sign On at Work Station</b>
</p>
<p>
<pre>
CHGJOBD JOBD(INT4) USER(*RQD) RTGDTA(QCMDI) LOG(*SAME)
ACGCDE('USERXYZ CODE123') TEXT(*BLANK)
</pre>
</p>
<p>The USER parameter indicates the user of the job description INT4 must enter a password to sign on at a work station. The characters QCMDI are used as the routing data being compared with the routing table of the subsystem under which the job is run. All values of the LOG parameter list are not changed. Jobs that use this job description have accounting data recorded under the accounting code, 'USERXYZ CODE123', when job accounting is active. The text for this job description is changed to all blanks.
</p>
<p><b>Example 4: Directing Jobs Using This System to a Specific Job Queue</b>
</p>
<p>
<pre>
CHGJOBD JOBD(BATCH3) JOBQ(NIGHTQ) JOBPTY(4) OUTPTY(4)
RTGDTA(QCMDB) INQMSGRPY(*DFT)
TEXT('Batch #3 JOBD for high priority night work')
</pre>
</p>
<p>This command changes a job description named BATCH3 found in the library search list. The jobs using this description are now placed on the job queue NIGHTQ. The priority for jobs using this description and their spooled files is 4. QCMDB is the routing data that is compared with entries in the routing table of the subsystem where the job is run. The text is changed to indicate that this job description is for high priority night work. The INQMSGRPY parameter specifies that all messages of type *INQ that are issued from a job using this job description automatically causes the default reply message to be issued.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGJOBD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1618</b></dt>
<dd>Job description &amp;1 in library &amp;2 damaged.
</dd>
<dt><b>CPF1625</b></dt>
<dd>Job description &amp;1 in library &amp;2 not changed.
</dd>
<dt><b>CPF9872</b></dt>
<dd>Program or service program &amp;1 in library &amp;2 ended. Reason code &amp;3.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGJOBD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>