1449 lines
57 KiB
HTML
1449 lines
57 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>Submit Job (SBMJOB)</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="SBMJOB.Top_Of_Page"></a>
|
|
<h2>Submit Job (SBMJOB)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>Conditional
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#SBMJOB.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#SBMJOB.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#SBMJOB.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="SBMJOB"></a>
|
|
<p>The Submit Job (SBMJOB) command allows a job that is running to submit another job to a job queue to be run later as a batch job. Only one element of request data can be placed on the new job's message queue. The request data can be a CL command if the routing entry used for the job specifies a CL command processing program (such as the IBM-supplied QCMD program).
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>A job started by the SBMJOB command uses the <b>Accounting code (ACGCDE)</b> of the job that submits the job. The ACGCDE specifications in the submitted job's job description (JOBD) and user's user profile (USRPRF) are ignored.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ol>
|
|
<li>The user that issues the SBMJOB command must have:
|
|
<ul>
|
|
<li>use (*USE) authority to the user profile specified on the <b>User (USER)</b> parameter.
|
|
</li>
|
|
<li>use (*USE) authority to the command specified on the <b>Command to run (CMD)</b> parameter and execute (*EXECUTE) authority to the library containing that command.
|
|
</li>
|
|
<li>use (*USE) authority to the job description specified on the <b>Job description (JOBD)</b> parameter and execute (*EXECUTE) authority to the library containing that job description.
|
|
</li>
|
|
<li>use (*USE) authority to the job queue specified on the <b>Job queue (JOBQ)</b> parameter and execute (*EXECUTE) authority to the library containing that job queue.
|
|
</li>
|
|
<li>use (*USE) and add (*ADD) authority to the message queue specified on the <b>Message queue (MSGQ)</b> parameter and execute (*EXECUTE) authority to the library containing that message queue.
|
|
</li>
|
|
<li>job control (*JOBCTL) special authority to use the <b>Submitted for (SBMFOR)</b> parameter.
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>The user for the submitted job must have:
|
|
<ul>
|
|
<li>use (*USE) authority to the job description specified on the <b>Job description (JOBD)</b> parameter.
|
|
</li>
|
|
<li>read (*READ) authority to the output queue specified on the <b>Output queue (OUTQ)</b> parameter and execute (*EXECUTE) authority to the library, in the submitted job's name space, that contains that output queue.
|
|
</li>
|
|
<li>use (*USE) authority to all the libraries specified on the <b>System library list (SYSLIBL)</b> parameter.
|
|
</li>
|
|
<li>use (*USE) authority to the library specified on the <b>Current library (CURLIB)</b> parameter.
|
|
</li>
|
|
<li>use (*USE) authority to all the libraries specified on the <b>Initial library list (INLLIBL)</b> parameter.
|
|
</li>
|
|
<li>use (*USE) authority to all auxiliary storage pool (ASP) device descriptions specified on the <b>Initial ASP group (INLASPGRP)</b> parameter.
|
|
</li>
|
|
<li>use (*USE) authority to the sort sequence table specified on the <b>Sort sequence (SRTSEQ)</b> parameter and execute (*EXECUTE) authority to the library, in the submitted job's name space, that contains that sort sequence table.
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>This command is conditionally threadsafe. If a Job Notification Exit Point has been registered to send a message to a DDM data queue whenever a Submit Job is done, the message will not be sent if SBMJOB command is issued in a multithreaded job. For more information on the Job Notification function, refer to the Job Notification Exit Point in the Work Management chapter of the System API Reference manual.
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="SBMJOB.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="#SBMJOB.CMD"><b>CMD</b></a></td>
|
|
<td valign="top">Command to run</td>
|
|
<td valign="top"><i>Command string</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.JOB"><b>JOB</b></a></td>
|
|
<td valign="top">Job name</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*JOBD</u></b></td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#SBMJOB.JOBD"><b>JOBD</b></a></td>
|
|
<td valign="top">Job description</td>
|
|
<td valign="top">Single values: <b><u>*USRPRF</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional, Positional 2</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="#SBMJOB.JOBQ"><b>JOBQ</b></a></td>
|
|
<td valign="top">Job queue</td>
|
|
<td valign="top">Single values: <b><u>*JOBD</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional, Positional 4</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="#SBMJOB.JOBPTY"><b>JOBPTY</b></a></td>
|
|
<td valign="top">Job priority (on JOBQ)</td>
|
|
<td valign="top">1-9, <b><u>*JOBD</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.OUTPTY"><b>OUTPTY</b></a></td>
|
|
<td valign="top">Output priority (on OUTQ)</td>
|
|
<td valign="top">1-9, <b><u>*JOBD</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.PRTDEV"><b>PRTDEV</b></a></td>
|
|
<td valign="top">Print device</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b>, *USRPRF, *SYSVAL, *JOBD</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#SBMJOB.OUTQ"><b>OUTQ</b></a></td>
|
|
<td valign="top">Output queue</td>
|
|
<td valign="top">Single values: <b><u>*CURRENT</u></b>, *USRPRF, *DEV, *JOBD<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="#SBMJOB.USER"><b>USER</b></a></td>
|
|
<td valign="top">User</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b>, *JOBD</td>
|
|
<td valign="top">Optional, Positional 3</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.PRTTXT"><b>PRTTXT</b></a></td>
|
|
<td valign="top">Print text</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*CURRENT</u></b>, *JOBD, *SYSVAL, *BLANK</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.RTGDTA"><b>RTGDTA</b></a></td>
|
|
<td valign="top">Routing data</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>QCMDB</u></b>, *JOBD, *RQSDTA</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.RQSDTA"><b>RQSDTA</b></a></td>
|
|
<td valign="top">Request data or command</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*CMD</u></b>, *JOBD, *NONE, *RTGDTA</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.SYSLIBL"><b>SYSLIBL</b></a></td>
|
|
<td valign="top">System library list</td>
|
|
<td valign="top"><b><u>*CURRENT</u></b>, *SYSVAL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.CURLIB"><b>CURLIB</b></a></td>
|
|
<td valign="top">Current library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b>, *USRPRF, *CRTDFT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.INLLIBL"><b>INLLIBL</b></a></td>
|
|
<td valign="top">Initial library list</td>
|
|
<td valign="top">Single values: <b><u>*CURRENT</u></b>, *JOBD, *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="#SBMJOB.INLASPGRP"><b>INLASPGRP</b></a></td>
|
|
<td valign="top">Initial ASP group</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b>, *JOBD, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="4"><a href="#SBMJOB.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>*JOBD</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Severity</td>
|
|
<td valign="top">
|
|
0-99, <b><u>*JOBD</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 3: Text</td>
|
|
<td valign="top">
|
|
<b><u>*JOBD</u></b>, *MSG, *SECLVL, *NOLIST</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.LOGCLPGM"><b>LOGCLPGM</b></a></td>
|
|
<td valign="top">Log CL program commands</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.LOGOUTPUT"><b>LOGOUTPUT</b></a></td>
|
|
<td valign="top">Job log output</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *SYSVAL, *JOBLOGSVR, *JOBEND, *PND</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.JOBMSGQMX"><b>JOBMSGQMX</b></a></td>
|
|
<td valign="top">Job message queue maximum size</td>
|
|
<td valign="top">2-64, <b><u>*JOBD</u></b>, *SYSVAL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.JOBMSGQFL"><b>JOBMSGQFL</b></a></td>
|
|
<td valign="top">Job message queue full action</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *SYSVAL, *NOWRAP, *WRAP, *PRTWRAP</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.INQMSGRPY"><b>INQMSGRPY</b></a></td>
|
|
<td valign="top">Inquiry message reply</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *RQD, *DFT, *SYSRPYL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.HOLD"><b>HOLD</b></a></td>
|
|
<td valign="top">Hold on job queue</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.SCDDATE"><b>SCDDATE</b></a></td>
|
|
<td valign="top">Schedule date</td>
|
|
<td valign="top"><i>Date</i>, <b><u>*CURRENT</u></b>, *MONTHSTR, *MONTHEND, *MON, *TUE, *WED, *THU, *FRI, *SAT, *SUN</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.SCDTIME"><b>SCDTIME</b></a></td>
|
|
<td valign="top">Schedule time</td>
|
|
<td valign="top"><i>Time</i>, <b><u>*CURRENT</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.DATE"><b>DATE</b></a></td>
|
|
<td valign="top">Job date</td>
|
|
<td valign="top"><i>Date</i>, <b><u>*JOBD</u></b>, *SYSVAL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.SWS"><b>SWS</b></a></td>
|
|
<td valign="top">Job switches</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*JOBD</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.DSPSBMJOB"><b>DSPSBMJOB</b></a></td>
|
|
<td valign="top">Allow display by WRKSBMJOB</td>
|
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="4"><a href="#SBMJOB.SBMFOR"><b>SBMFOR</b></a></td>
|
|
<td valign="top">Submitted for</td>
|
|
<td valign="top">Single values: <b><u>*CURRENT</u></b><br>Other values: <i>Qualified job name</i></td>
|
|
<td valign="top" rowspan="4">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Submitted for</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: User</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 3: Number</td>
|
|
<td valign="top">000000-999999</td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="3"><a href="#SBMJOB.MSGQ"><b>MSGQ</b></a></td>
|
|
<td valign="top">Message queue</td>
|
|
<td valign="top">Single values: <b><u>*USRPRF</u></b>, *WRKSTN, *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="#SBMJOB.SRTSEQ"><b>SRTSEQ</b></a></td>
|
|
<td valign="top">Sort sequence</td>
|
|
<td valign="top">Single values: <b><u>*CURRENT</u></b>, *USRPRF, *SYSVAL, *HEX, *LANGIDUNQ, *LANGIDSHR<br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Sort sequence</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="#SBMJOB.LANGID"><b>LANGID</b></a></td>
|
|
<td valign="top">Language ID</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*CURRENT</u></b>, *USRPRF, *SYSVAL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.CNTRYID"><b>CNTRYID</b></a></td>
|
|
<td valign="top">Country or region ID</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*CURRENT</u></b>, *USRPRF, *SYSVAL</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.CCSID"><b>CCSID</b></a></td>
|
|
<td valign="top">Coded character set ID</td>
|
|
<td valign="top">1-65535, <b><u>*CURRENT</u></b>, *USRPRF, *SYSVAL, *HEX</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.CPYENVVAR"><b>CPYENVVAR</b></a></td>
|
|
<td valign="top">Copy environment variables</td>
|
|
<td valign="top"><b><u>*NO</u></b>, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.ALWMLTTHD"><b>ALWMLTTHD</b></a></td>
|
|
<td valign="top">Allow multiple threads</td>
|
|
<td valign="top"><b><u>*JOBD</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#SBMJOB.SPLFACN"><b>SPLFACN</b></a></td>
|
|
<td valign="top">Spooled file action</td>
|
|
<td valign="top"><b><u>*CURRENT</u></b>, *JOBD, *SYSVAL, *KEEP, *DETACH</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="SBMJOB.CMD"></a>
|
|
<h3>Command to run (CMD)</h3>
|
|
<p>Specifies a command that runs in the batch job, if the routing program used when this batch job is initiated is the IBM-supplied default routing program (QCMD). Because this command is used for the request data, this parameter is mutually exclusive with the <b>Request data or command (RQSDTA)</b> parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>command-string</i></b></dt>
|
|
<dd>Specify the command that is run in the batch job. The command cannot be longer than 20000 characters.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.JOB"></a>
|
|
<h3>Job name (JOB)</h3>
|
|
<p>Specifies the name that is associated with the job when it is processed by the system.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The simple name of the job description used with this job is the name of the job itself.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the simple name of the job that is used while it is being processed by the system.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.JOBD"></a>
|
|
<h3>Job description (JOBD)</h3>
|
|
<p>Specifies the job description used with the job.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*USRPRF</u></b></dt>
|
|
<dd>The job description in the user profile under which the submitted job initially runs is used as the job description of the submitted job.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Job description</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the job description used for the job.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the job description. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
<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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.JOBQ"></a>
|
|
<h3>Job queue (JOBQ)</h3>
|
|
<p>Specifies the job queue in which this job is placed.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The submitted job is placed on the job queue named in the specified job description.
|
|
</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 library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the job queue. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.JOBPTY"></a>
|
|
<h3>Job priority (on JOBQ) (JOBPTY)</h3>
|
|
<p>Specifies the job queue scheduling priority. The highest priority is 1 and the lowest priority is 9.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The scheduling priority specified in the job description is used for the job.
|
|
</dd>
|
|
<dt><b><i>1-9</i></b></dt>
|
|
<dd>Specify the scheduling priority for the job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.OUTPTY"></a>
|
|
<h3>Output priority (on OUTQ) (OUTPTY)</h3>
|
|
<p>Specifies the output priority for spooled output files that are produced by this job. The highest priority is 1 and the lowest priority is 9.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The output priority specified in the job description is used for the job.
|
|
</dd>
|
|
<dt><b><i>1-9</i></b></dt>
|
|
<dd>Specify the priority of the submitted job's output files.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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 of the printer file, job description, user profile and work station.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The same printer device being used by the job that is currently running is used by the submitted job.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The printer device specified in the user profile under which the submitted job initially runs is used as the printer device for this job. The printer device name is obtained from the profile when this command is run.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The printer device specified in the system value, QPRTDEV, when this command is run is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The printer device specified in the job description is used for the submitted job.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the printer device used for the submitted job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.OUTQ"></a>
|
|
<h3>Output queue (OUTQ)</h3>
|
|
<p>Specifies the qualified name of the output queue used for spooled files that specify OUTQ(*JOB). This parameter applies only to printer files that have *JOB specified on the OUTQ parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The output queue used by the job that is currently running is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The output queue in the user profile under which the submitted job initially runs is used as the output queue for the submitted job. The output queue name is obtained from the profile when this command is run.
|
|
</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 OUTQ parameter for the printer file, job description, user profile, and workstation.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The output queue named in the job description used with the submitted job is the job's default output queue.
|
|
</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 that is used as the default output queue by the submitted job.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the output queue. If no library is specified as the current library of the thread, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the library where the output queue is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.USER"></a>
|
|
<h3>User (USER)</h3>
|
|
<p>Specifies the name of the user profile for the job being submitted. If *RQD is specified in the job description, *JOBD cannot be specified. Instead, *CURRENT or a user-name must be specified.
|
|
</p>
|
|
<p><b>Note:</b> The following IBM-supplied objects are not valid for this parameter:
|
|
</p>
|
|
<ul>
|
|
<li>QDBSHR
|
|
</li>
|
|
<li>QDFTOWN
|
|
</li>
|
|
<li>QDOC
|
|
</li>
|
|
<li>QLPAUTO
|
|
</li>
|
|
<li>QLPINSTALL
|
|
</li>
|
|
<li>QRJE
|
|
</li>
|
|
<li>QSECOFR
|
|
</li>
|
|
<li>QSPL
|
|
</li>
|
|
<li>QSYS
|
|
</li>
|
|
<li>QTSTRQS
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The same user profile used by the job that is currently running is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The user profile named in the specified job description is used for the job being submitted.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the user profile that is used for the job being submitted.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.PRTTXT"></a>
|
|
<h3>Print text (PRTTXT)</h3>
|
|
<p>Specifies the text that is printed at the bottom of each page of printed output and on separator pages.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The same print text of the submitting job is used.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The value in the job description is used for this job.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system value, QPRTTXT, is used.
|
|
</dd>
|
|
<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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.RTGDTA"></a>
|
|
<h3>Routing data (RTGDTA)</h3>
|
|
<p>Specifies the routing data used to start the next routing step in the job. The routing data is used to determine the routing entry that identifies the program that the job runs.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>QCMDB</u></b></dt>
|
|
<dd>The routing data used by the IBM-supplied subsystems to route batch jobs to the IBM-supplied control language processor QCMD is used.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The routing data specified in the job description is used.
|
|
</dd>
|
|
<dt><b>*RQSDTA</b></dt>
|
|
<dd>The first 80 characters of the request data specified in the <b>Request data or command (RQSDTA)</b> parameter of this command are used as the routing data for the job.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the character string that is used as the routing data for starting the job. A maximum of 80 characters can be entered, enclosed in apostrophes if necessary.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.RQSDTA"></a>
|
|
<h3>Request data or command (RQSDTA)</h3>
|
|
<p>Specifies the request data that is placed as the last entry in this job's message queue. The request data can be a CL command to be run or a string of characters used by another program.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CMD</u></b></dt>
|
|
<dd>The input from the <b>Command to run (CMD)</b> parameter is placed in this job's message queue.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The request data specified in the job description used by the job is placed in this job's message queue.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No request data is placed in the job's message queue.
|
|
</dd>
|
|
<dt><b>*RTGDTA</b></dt>
|
|
<dd>The routing data specified in the <b>Routing data (RTGDTA)</b> parameter of this command 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 submitted job's message queue. A maximum of 3000 characters can be entered, enclosed in apostrophes if necessary.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SYSLIBL"></a>
|
|
<h3>System library list (SYSLIBL)</h3>
|
|
<p>Specifies the system portion of the initial library list that is used by the submitted job.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The same system library list being used by the thread that is currently running is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system default system library list is used by the job. It contains the library names that were specified in the system value, QSYSLIBL, at the time that the job is started.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.CURLIB"></a>
|
|
<h3>Current library (CURLIB)</h3>
|
|
<p>Specifies the name of the current library associated with the submitted job.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The current library being used by the thread that is currently running is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The current library in the user profile under which the submitted job initially runs is used as the current library for the submitted job.
|
|
</dd>
|
|
<dt><b>*CRTDFT</b></dt>
|
|
<dd>There is no current library for the submitted job. If objects are created in the current library, QGPL is used as the default current library.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the library used as the current library of the submitted job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.INLLIBL"></a>
|
|
<h3>Initial library list (INLLIBL)</h3>
|
|
<p>Specifies the initial user part of the library list that is used to search for any object names that were specified without a library qualifier.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Duplication of library names in the library list is not allowed.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The library list being used by the thread that is currently running is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The library list in the job description used with this job is used as the initial user part of the library list for the job.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system default user library list is used by this job. It contains the library names that were specified in the system value QUSRLIBL at the time that the job is started.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>The user portion of the initial library list is empty.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 250 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the names of one or more libraries that are the user portion of the library list and are used by this job. The libraries are searched in the same order as they are listed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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 the submitted job. 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>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The ASP group name for the current thread is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The initial ASP group name specified in the job description is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>Specifies the initial thread of the submitted job 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>Specify the name of the ASP group to be set for the initial thread of the submitted job. 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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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>*JOBD</u></b></dt>
|
|
<dd>The value specified for message logging in the job description is used for this job.
|
|
</dd>
|
|
<dt><b><i>0-4</i></b></dt>
|
|
<dd>Specify the message logging level used for this job's messages. The possible logging levels are:
|
|
<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>*JOBD</u></b></dt>
|
|
<dd>The value specified for message logging in the job description is used for this job.
|
|
</dd>
|
|
<dt><b><i>0-99</i></b></dt>
|
|
<dd>Specify the message severity that is 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>*JOBD</u></b></dt>
|
|
<dd>The value specified for message logging in the job description is used for this job.
|
|
</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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.LOGCLPGM"></a>
|
|
<h3>Log CL program commands (LOGCLPGM)</h3>
|
|
<p>Specifies whether the commands that are 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 *JOB has been specified for the <b>Message logging (LOG)</b> parameter in the Create CL Program (CRTCLPGM) command, the flag set in the <b>Log CL program commands (LOGCLPGM)</b> parameter is used. Other values for the <b>Message logging (LOG)</b> parameter override the <b>Log CL program commands (LOGCLPGM)</b> parameter. The commands are logged in the same manner as the requests.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description is used.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The commands in a CL program are not logged to the job log.
|
|
</dd>
|
|
<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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description is used.
|
|
</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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description determines maximum size of the job message queue.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The value in system value QJOBMSGQMX 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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description determines the action that should be taken.
|
|
</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 full and starts filling the message queue again.
|
|
</dd>
|
|
<dt><b>*PRTWRAP</b></dt>
|
|
<dd>The message queue wraps the job message queue when full and prints the messages that are being overlaid because of wrapping.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.INQMSGRPY"></a>
|
|
<h3>Inquiry message reply (INQMSGRPY)</h3>
|
|
<p>Specifies the way that predefined messages that are sent as a result of running this job are answered. You can specify that the inquiry message reply control is taken from the job description, or that all inquiry messages require a reply, or that a default reply is issued, or that the system reply list is checked for a matching reply as each predefined inquiry message is sent.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The inquiry message reply control specified in the job description used with this job is used.
|
|
</dd>
|
|
<dt><b>*RQD</b></dt>
|
|
<dd>A reply is required by the receiver of the inquiry message for all inquiry messages that occur when this command is run.
|
|
</dd>
|
|
<dt><b>*DFT</b></dt>
|
|
<dd>The default message reply is used to answer any inquiry messages issued when this command is run.
|
|
</dd>
|
|
<dt><b>*SYSRPYL</b></dt>
|
|
<dd>The system reply list is checked to see if there is an entry for any inquiry message that is issued as a result of running this job that has a message identifier and any comparison data that match the inquiry message identifier and message data. If a match occurs, the reply value in that 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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.HOLD"></a>
|
|
<h3>Hold on job queue (HOLD)</h3>
|
|
<p>Specifies whether this job is held at the time that it is put on the job queue. A job placed on the job queue in the hold state is held until it is released by the Release Job (RLSJOB) command or ended, either by the End Job (ENDJOB) command or by the Clear Job Queue (CLRJOBQ) command.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description determines whether the job is held when it is put on the job queue.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The job is not held when it is put on the job queue.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The job is held when it is put on the job queue until it is released ended.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SCDDATE"></a>
|
|
<h3>Schedule date (SCDDATE)</h3>
|
|
<p>Specifies the date on which the scheduled job is submitted to the job queue and is eligible to run.
|
|
</p>
|
|
<p>If your system or your job is configured to use the Julian date format, *MONTHSTR and *MONTHEND are calculated as if the system or job did not use the Julian date format.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The submitted job becomes eligible to run on the current date.
|
|
</dd>
|
|
<dt><b>*MONTHSTR</b></dt>
|
|
<dd>The submitted job becomes eligible to run on the first day of the month. If today is the first day of the month and the time you specify on the SCDTIME parameter has not passed, the job becomes eligible to run today. Otherwise, the job becomes eligible on the first day of the next month.
|
|
</dd>
|
|
<dt><b>*MONTHEND</b></dt>
|
|
<dd>The submitted job becomes eligible to run on the last day of the month. If today is the last day of the month and the time you specify on the SCDTIME parameter has not passed, the job becomes eligible to run today. Otherwise, if today is the last day of the month and the time you specify on the SCDTIME parameter has passed, the job becomes eligible on the last day of the next month.
|
|
</dd>
|
|
<dt><b>*MON</b></dt>
|
|
<dd>The job becomes eligible to run on Monday.
|
|
</dd>
|
|
<dt><b>*TUE</b></dt>
|
|
<dd>The job becomes eligible to run on Tuesday.
|
|
</dd>
|
|
<dt><b>*WED</b></dt>
|
|
<dd>The job becomes eligible to run on Wednesday.
|
|
</dd>
|
|
<dt><b>*THU</b></dt>
|
|
<dd>The job becomes eligible to run on Thursday.
|
|
</dd>
|
|
<dt><b>*FRI</b></dt>
|
|
<dd>The job becomes eligible to run on Friday.
|
|
</dd>
|
|
<dt><b>*SAT</b></dt>
|
|
<dd>The job becomes eligible to run on Saturday.
|
|
</dd>
|
|
<dt><b>*SUN</b></dt>
|
|
<dd>The job becomes eligible to run on Sunday.
|
|
</dd>
|
|
<dt><b><i>date</i></b></dt>
|
|
<dd>Specify a date in the job date format with or without separators.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SCDTIME"></a>
|
|
<h3>Schedule time (SCDTIME)</h3>
|
|
<p>Specifies the time on the scheduled date at which the job becomes eligible to run.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Although the time can be specified to the second, the load on the system may affect the exact time at which the submitted job becomes eligible to run.
|
|
</p>
|
|
<p>The order that job entries with identical SCDDATE and SCDTIME values appear on the job queue may be different than the order in which they arrived. Likewise, these jobs may leave the job queue to be processed in an order different than the order in which they were entered. Do not assume jobs are entered or processed sequentially when they are scheduled to start at exactly the same time.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The job is submitted at the current time.
|
|
</dd>
|
|
<dt><b><i>time</i></b></dt>
|
|
<dd>Specify the time you want the job to start. The time is specified in 24-hour format and can be specified with or without a time separator:
|
|
<ul>
|
|
<li>Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where <b>hh</b> = hours, <b>mm</b> = minutes, and <b>ss</b> = seconds. Valid values for <b>hh</b> range from 00 to 23. Valid values for <b>mm</b> and <b>ss</b> range from 00 to 59.
|
|
</li>
|
|
<li>With a time separator, specify a string of 5 or 8 digits where the time separator specified for your job is used to separate the hours, minutes, and seconds. If this command is entered from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
|
|
</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.DATE"></a>
|
|
<h3>Job date (DATE)</h3>
|
|
<p>Specifies the date that is assigned to the job when it is started.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The date specified in the job description is the job date.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The value in the QDATE system value at the time the job is started is the job date.
|
|
</dd>
|
|
<dt><b><i>date</i></b></dt>
|
|
<dd>Specify the value that is used as the job date when the job is started; the date must be specified in the job date format.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SWS"></a>
|
|
<h3>Job switches (SWS)</h3>
|
|
<p>Specifies the first settings for a group of eight job switches used with this job. These switches can be set or tested in a CL program and used to control the flow of the program. Only 0's (off) and 1's (on) can be specified in the 8-digit character string.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description is the first setting for the job's switches.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify any combination of eight zeros and ones that is used as the first switch setting for the submitted job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.DSPSBMJOB"></a>
|
|
<h3>Allow display by WRKSBMJOB (DSPSBMJOB)</h3>
|
|
<p>Specifies whether the job being submitted is allowed to be shown on the <b>Work with Submitted Jobs</b> panel. Any submitted job of the type specified by the <b>Jobs submitted from (SBMFROM)</b> parameter of the Work with Submitted Jobs (WRKSBMJOB) command can be shown if the job is not prevented by this parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*YES</u></b></dt>
|
|
<dd>This job can be shown by the WRKSBMJOB command.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>This job is not shown on any display produced by the WRKSBMJOB command.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SBMFOR"></a>
|
|
<h3>Submitted for (SBMFOR)</h3>
|
|
<p>Specifies the job name to be used on the <b>Jobs submitted from (SBMFROM)</b> parameter of the Work with Submitted Jobs (WRKSBMJOB) command.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The name of the currently active job is used.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Submitted for</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the job.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: User</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user name that identifies the user profile under which the job is run.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 3: Number</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>000000-999999</i></b></dt>
|
|
<dd>Specify the job number.
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<b>Note: </b>You must have job control (*JOBCTL) special authority to use this parameter.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.MSGQ"></a>
|
|
<h3>Message queue (MSGQ)</h3>
|
|
<p>Specifies the message queue to which a completion message is sent when the submitted job has completed running, either normally or abnormally. If an abnormal ending occurs, the help information for the completion message specifies the possible causes.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*USRPRF</u></b></dt>
|
|
<dd>A completion message is sent to the message queue specified in the user profile of the submitter.
|
|
</dd>
|
|
<dt><b>*WRKSTN</b></dt>
|
|
<dd>A completion message is sent to the work station message queue of the work station from which the job was submitted. If the job is submitted by a batch job, no completion message is sent.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No completion message is sent.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Message queue</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the message queue to which the completion message is sent.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the message queue. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.SRTSEQ"></a>
|
|
<h3>Sort sequence (SRTSEQ)</h3>
|
|
<p>Specifies the sort sequence table to be used for string comparisons for this job.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The sort table specified for the job that is currently running is used.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The sort table specified in the user profile under which the submitted job initially runs is used. The user profile is specified on the <b>User (USER)</b> parameter.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system value QSRTSEQ is used.
|
|
</dd>
|
|
<dt><b>*HEX</b></dt>
|
|
<dd>A sort sequence table is not used. The hexadecimal values of the characters are used to determine the sort sequence.
|
|
</dd>
|
|
<dt><b>*LANGIDUNQ</b></dt>
|
|
<dd>A unique-weight sort table is used.
|
|
</dd>
|
|
<dt><b>*LANGIDSHR</b></dt>
|
|
<dd>A shared-weight sort table is used.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Sort sequence</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the sort sequence table.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the library where the sort sequence table is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.LANGID"></a>
|
|
<h3>Language ID (LANGID)</h3>
|
|
<p>Specifies the language identifier to be associated with this job. The language identifier is used when *LANGIDUNQ or *LANGIDSHR is specified on the <b>Sort sequence (SRTSEQ)</b> parameter. If the job CCSID is 65535, this parameter is also used to determine the value of the job default CCSID (DFTCCSID).
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The language identifier specified for the job that is currently running is used.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The language ID specified in the user profile under which the submitted job runs is used. The user profile is specified on the <b>User (USER)</b> parameter.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system value QLANGID is used.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the language identifier to be used by the job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.CNTRYID"></a>
|
|
<h3>Country or region ID (CNTRYID)</h3>
|
|
<p>Specifies the country or region identifier (ID) to be used by the job.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The country or region ID specified for the job that is currently running is used.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The country or region ID specified in the user profile under which the submitted job runs is used. The user profile is specified on the <b>User (USER)</b> parameter.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The system value QCNTRYID is used.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the country or region ID to be used by the job.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.CCSID"></a>
|
|
<h3>Coded character set ID (CCSID)</h3>
|
|
<p>Specifies the coded character set identifier (CCSID) used for the submitted job.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The CCSID specified for the job that is currently running is used.
|
|
</dd>
|
|
<dt><b>*USRPRF</b></dt>
|
|
<dd>The CCSID specified in the user profile where the submitted job initially runs is used.
|
|
</dd>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The CCSID specified in the system value QCCSID at the time the job is started is used.
|
|
</dd>
|
|
<dt><b>*HEX</b></dt>
|
|
<dd>The CCSID 65535 is used.
|
|
</dd>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the CCSID.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.CPYENVVAR"></a>
|
|
<h3>Copy environment variables (CPYENVVAR)</h3>
|
|
<p>Specifies whether the environment variables from the submitting job are copied to the new job.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NO</u></b></dt>
|
|
<dd>The environment variables are not copied.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The environment variables are copied.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.ALWMLTTHD"></a>
|
|
<h3>Allow multiple threads (ALWMLTTHD)</h3>
|
|
<p>Specifies whether or not the job is allowed to run with multiple user threads. This attribute does not prevent the operating system from creating system threads in the job. This attribute is not allowed to be changed after the job is submitted.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*JOBD</u></b></dt>
|
|
<dd>The value specified in the job description determines whether or not the job is allowed to run with multiple user threads.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The job is not allowed to run with multiple user threads.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The job is allowed to run with multiple user threads.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="SBMJOB.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 Work with Submitted Jobs (WRKSBMJOB) 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>*CURRENT</u></b></dt>
|
|
<dd>The value from the current job is used for the submitted job.
|
|
</dd>
|
|
<dt><b>*JOBD</b></dt>
|
|
<dd>The value in the job description is used.
|
|
</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, if spooled files for the job exist 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. When 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="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="SBMJOB.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Submitting a Job</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
SBMJOB JOB(SPECIAL) JOBD(MYLIB/MYJOBD) CMD(CALL MYPROG)
|
|
</pre>
|
|
</p>
|
|
<p>This command causes the job named SPECIAL to be submitted. Most of the attributes for the job are taken from the job description MYJOBD, or the job that is currently running, except for the command. The CALL command is placed on the submitted job's message queue so that the program MYPROG can be called and run later.
|
|
</p>
|
|
<p><b>Example 2: Submitting a Job</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
SBMJOB JOB(PAYROLL) JOBD(PAYROLL) INQMSGRPY(*RQD)
|
|
</pre>
|
|
</p>
|
|
<p>This command submits a job named PAYROLL to the system. All the information needed for this job (such as the job queue and routing data but not the inquiry message control value) is contained in the job description PAYROLL, or the job that is currently running. The library list in effect for the job issuing this command is used to find the job description. All inquiry messages sent during running of this job requires the receiver of the inquiry message to reply.
|
|
</p>
|
|
<p><b>Example 3: Submitting a Job to a Job Queue</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
SBMJOB JOBD(*USRPRF) JOB(COPY12) JOBQ(NIGHTQ)
|
|
CMD(CPYF FILEA FILEB)
|
|
</pre>
|
|
</p>
|
|
<p>This command submits the job COPY12, which uses the job description in the user profile of the submitting job, to the job queue NIGHTQ. The CMD parameter provides the CL command necessary for the job to run. A command such as this might be used to copy the file at night while the system is unattended.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="SBMJOB.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF133A</b></dt>
|
|
<dd>SBMJOB not allowed during IPL.
|
|
</dd>
|
|
<dt><b>CPF1338</b></dt>
|
|
<dd>Errors occurred on SBMJOB command.
|
|
</dd>
|
|
<dt><b>CPF1651</b></dt>
|
|
<dd>Sort sequence table not accessed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#SBMJOB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|