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

1638 lines
60 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 using Job Scheduler (SBMJOBJS)</title>
</head>
<body bgcolor="white">
<a name="SBMJOBJS.Top_Of_Page"></a>
<h2>Submit Job using Job Scheduler (SBMJOBJS)</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="#SBMJOBJS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#SBMJOBJS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#SBMJOBJS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="SBMJOBJS"></a>
<p>The Submit Job using Job Scheduler (SBMJOBJS) command allows you to submit a batch job through Advanced Job Scheduler. You can specify submission times and dates, parameter information and all submission information.
</p>
<p>Submitting a job from within a group does not start the group. It will only run the job that you selected for submission unless you specify *GRP in the Update Dependencies (UPDDEP) field.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="SBMJOBJS.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="4"><a href="#SBMJOBJS.JOB"><b>JOB</b></a></td>
<td valign="top">Job entry</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="4">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: Job</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: Group</td>
<td valign="top">
<i>Name</i>, <b><u>*NONE</u></b></td>
</tr>
<tr>
<td valign="top">Element 3: Group sequence</td>
<td valign="top">
1-99, <b><u>*NONE</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.TIME"><b>TIME</b></a></td>
<td valign="top">Submit time</td>
<td valign="top">0-2400, *IMMED, <b><u>*SCHED</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.DATE"><b>DATE</b></a></td>
<td valign="top">Submit date</td>
<td valign="top"><i>Character value</i>, <b><u>*CURRENT</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.STRSEQ"><b>STRSEQ</b></a></td>
<td valign="top">Starting sequence</td>
<td valign="top"><i>Integer</i>, <b><u>*FIRST</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.ENDSEQ"><b>ENDSEQ</b></a></td>
<td valign="top">Ending sequence</td>
<td valign="top"><i>Integer</i>, <b><u>*LAST</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.CHKDEP"><b>CHKDEP</b></a></td>
<td valign="top">Check for dependencies</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.UPDDEP"><b>UPDDEP</b></a></td>
<td valign="top">Update dependencies</td>
<td valign="top"><b><u>*NO</u></b>, *YES, *GRP</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.PARM"><b>PARM</b></a></td>
<td valign="top">Parameters</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 50 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Parameter name</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: Parameter data</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location name</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *LCL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.MAXRUN"><b>MAXRUN</b></a></td>
<td valign="top">Maximum run time</td>
<td valign="top">1-9999, <b><u>*SAME</u></b>, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.PGRRCPNORM"><b>PGRRCPNORM</b></a></td>
<td valign="top">Notification normal</td>
<td valign="top">Single values: *NONE<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Notification recipient</td>
<td valign="top">
<i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *ONCALL</td>
</tr>
<tr>
<td valign="top">Element 2: Notification message</td>
<td valign="top">
<i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *COMP</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.PGRRCPABN"><b>PGRRCPABN</b></a></td>
<td valign="top">Notification abnormal</td>
<td valign="top">Single values: *NONE<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Notification recipient</td>
<td valign="top">
<i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *ONCALL</td>
</tr>
<tr>
<td valign="top">Element 2: Notification message</td>
<td valign="top">
<i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *COMP</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.PGRRCPSTR"><b>PGRRCPSTR</b></a></td>
<td valign="top">Notification start job</td>
<td valign="top">Single values: *NONE<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Notification recipient</td>
<td valign="top">
<i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *ONCALL</td>
</tr>
<tr>
<td valign="top">Element 2: Start limit</td>
<td valign="top">
1-999, *JOBCTL, <b><u>*SAME</u></b></td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="#SBMJOBJS.ALTJOB"><b>ALTJOB</b></a></td>
<td valign="top">Alternate job</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="4">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Job</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: Group</td>
<td valign="top">
<i>Name</i>, <b><u>*NONE</u></b></td>
</tr>
<tr>
<td valign="top">Element 3: Group sequence</td>
<td valign="top">
1-99, <b><u>*NONE</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.RPTDSTID"><b>RPTDSTID</b></a></td>
<td valign="top">Report distribution ID</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.RCYACN"><b>RCYACN</b></a></td>
<td valign="top">Recovery action</td>
<td valign="top"><b><u>*SAME</u></b>, *JOBCTL, *SBMRLS, *SBMHLD, *NOSBM</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *JOBCTL, *USRPRF<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</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="#SBMJOBJS.JOBQ"><b>JOBQ</b></a></td>
<td valign="top">Job queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *JOBCTL, *JOBD<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job queue</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#SBMJOBJS.JOBPTY"><b>JOBPTY</b></a></td>
<td valign="top">Job priority (on JOBQ)</td>
<td valign="top">1-9, <b><u>*SAME</u></b>, *JOBCTL, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.OUTPTY"><b>OUTPTY</b></a></td>
<td valign="top">Output priority (on OUTQ)</td>
<td valign="top">1-9, <b><u>*SAME</u></b>, *JOBCTL, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.PRTDEV"><b>PRTDEV</b></a></td>
<td valign="top">Print device</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *CURRENT, *USRPRF, *SYSVAL, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.OUTQ"><b>OUTQ</b></a></td>
<td valign="top">Output queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *JOBCTL, *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="#SBMJOBJS.USER"><b>USER</b></a></td>
<td valign="top">User</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *CURRENT, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.PRTTXT"><b>PRTTXT</b></a></td>
<td valign="top">Print text</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *BLANK, *JOBD, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.RTGDTA"><b>RTGDTA</b></a></td>
<td valign="top">Routing data</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.CURLIB"><b>CURLIB</b></a></td>
<td valign="top">Current library</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *USRPRF, *CRTDFT</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.LIBL"><b>LIBL</b></a></td>
<td valign="top">Library list</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *JOBD, *SYSVAL, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="#SBMJOBJS.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>, *JOBCTL, *JOBD</td>
</tr>
<tr>
<td valign="top">Element 2: Severity</td>
<td valign="top">
0-99, <b><u>*SAME</u></b>, *JOBCTL, *JOBD</td>
</tr>
<tr>
<td valign="top">Element 3: Text</td>
<td valign="top">
<b><u>*SAME</u></b>, *JOBCTL, *JOBD, *MSG, *SECLVL, *NOLIST</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.LOGCLPGM"><b>LOGCLPGM</b></a></td>
<td valign="top">Log CL program commands</td>
<td valign="top"><b><u>*SAME</u></b>, *JOBCTL, *JOBD, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.INQMSGRPY"><b>INQMSGRPY</b></a></td>
<td valign="top">Inquiry message reply</td>
<td valign="top"><b><u>*SAME</u></b>, *JOBCTL, *JOBD, *RQD, *DFT, *SYSRPYL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.HOLD"><b>HOLD</b></a></td>
<td valign="top">Hold on job queue</td>
<td valign="top"><b><u>*SAME</u></b>, *JOBCTL, *JOBD, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.SWS"><b>SWS</b></a></td>
<td valign="top">Job switches</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *JOBD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#SBMJOBJS.MSGQ"><b>MSGQ</b></a></td>
<td valign="top">Message queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *JOBCTL, *USRPRF, *NONE<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message queue</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#SBMJOBJS.ACGCDE"><b>ACGCDE</b></a></td>
<td valign="top">Accounting code</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *JOBCTL, *JOBD, *USRPRF, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.RUNPTY"><b>RUNPTY</b></a></td>
<td valign="top">Run priority</td>
<td valign="top">01-99, <b><u>*SAME</u></b>, *JOBCTL, *NOCHG</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#SBMJOBJS.INLASPGRP"><b>INLASPGRP</b></a></td>
<td valign="top">Initial ASP group</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *JOBCTL, *CURRENT, *JOBD, *NONE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="SBMJOBJS.JOB"></a>
<h3>Job entry (JOB)</h3>
<p>Specifies the name of the job schedule entry. You must specify a job name for every job and alternately can specify a group to which the job belongs as well as a sequence number for the job within the group.
</p>
<p>The first job of a group must be sequence number 1. Subsequent sequence numbers should leave gaps (10, 20, 30 and so on) to allow job insertions if necessary.
</p>
<p>This is a required parameter.
</p>
<p><b>Element 1: Job</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the user-defined name of the job schedule entry.
</dd>
</dl>
<p><b>Element 2: Group</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The job is not assigned to a group.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the user-defined name of the group to which the job belongs.
</dd>
</dl>
<p><b>Element 3: Group sequence</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>There is not a sequence number assigned to the job.
</dd>
<dt><b><i>1-99</i></b></dt>
<dd>Specify the sequence number of the job within the group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.TIME"></a>
<h3>Submit time (TIME)</h3>
<p>Specifies the time that you want this job to be submitted. Jobs can be submitted at a specified time, immediately or at the next scheduled time. Times are entered in hour, minute (HHMM) format and range from 0001 to 2400 (midnight).
</p>
<dl>
<dt><b><u>*SCHED</u></b></dt>
<dd>The job is to be submitted by Advanced Job Scheduler at the next scheduled time.
</dd>
<dt><b>*IMMED</b></dt>
<dd>The job is submitted immediately.
<p>
<b>Note: </b>This will be the default for any job group with a sequence greater than 1.
</p>
</dd>
<dt><b><i>0-2400</i></b></dt>
<dd>Specify the time that you want the job to be submitted by Advanced Job Scheduler.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.DATE"></a>
<h3>Submit date (DATE)</h3>
<p>Specifies the date that you want this job to be submitted. Dates are specified in job date format.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>The job is to be submitted by Advanced Job Scheduler on the current date at the time specified in the <b>Scheduled time (TIME)</b> parameter.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the date in job date format that you want the job to be submitted by Advanced Job Scheduler.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.STRSEQ"></a>
<h3>Starting sequence (STRSEQ)</h3>
<p>Specifies the starting command sequence number for the job that you are submitting.
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>Start with the first command sequence number for the job that you are submitting.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify the sequence number of the command within the job that you want to start with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.ENDSEQ"></a>
<h3>Ending sequence (ENDSEQ)</h3>
<p>Specifies the ending command sequence number for the job that you are submitting.
</p>
<dl>
<dt><b><u>*LAST</u></b></dt>
<dd>End with the last command sequence number for the job that you are submitting.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify the sequence number of the command within the job that you want to end with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.CHKDEP"></a>
<h3>Check for dependencies (CHKDEP)</h3>
<p>Specifies whether you should check resource and active dependencies before allowing the job to be submitted.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>Check resource and active dependencies when submitting a job. The dependencies must be satisfied before the job will be submitted.
</dd>
<dt><b>*NO</b></dt>
<dd>Do not check resource and active dependencies when submitting a job. The dependencies do not need to be satisfied before the job will be submitted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.UPDDEP"></a>
<h3>Update dependencies (UPDDEP)</h3>
<p>Specifies whether you should update dependencies associated with the original job after the job has completed.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>Do not update dependencies after the job has completed.
</dd>
<dt><b>*YES</b></dt>
<dd>Update dependencies after the job has completed.
</dd>
<dt><b>*GRP</b></dt>
<dd>Update dependencies after the job has completed. If the job is part of a group, continue group processing with the next job. This is equivelant to the Start Group using JS (STRGRPJS) command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PARM"></a>
<h3>Parameters (PARM)</h3>
<p>Specifies the name of the parameter and the parameter data that you want to use for the submitted job. Parameters that you specify must be defined in Advanced Job Scheduler.
</p>
<p>Any character is valid for entry into the parameter data field. Validity will be checked to the extent of the use of the parameter within your programs or of the Advanced Job Scheduler job when submitted. The number of characters in the parameter data should correspond with the length placed in the <b>Parameter length</b>field. Data entered in a shorter length than the <b>Parameter length</b>field will pass data padded with blanks to the length of the parameter. Leading blanks and embedded blanks will be passed to the parameter in your request data exactly as keyed. Any parameter data keyed past the specified length of the parameter field will be truncated. Apostrophes ( ' ) used in parameter data must appear in pairs to be valid. Apostrophes are required to be in a field that can accept text and apostophes. If only one apostrophe is used, the parameter will be rejected with the error "Quotes ('') in Parameter Data Must Appear In Pairs". You must correct this error before continuing.
</p>
<p>There are special values that can be used in the <u> Parameter data</u> field. Some of these special values are used in date calculations. For example, one of the special values used in date calculations is *QMDY. The <b>Q</b> indicates the system date, the <b>M</b> indicates month, the <b>D</b> indicates day and the <b>Y</b> indicates year. Whenever you see a special value beginning with <b>Q</b> the calculation is based on the current system date. If the special value begins with <b>A</b>, the calculation is based on the submission date.
</p>
<p>For example, parameter data specified as <b>*QMDY(D-33,M+1,D+5W)</b> would indicate that the current system date is the beginning point for the calculation. You would then subtract 33 days from the current system date, add 1 to the month and add five working days to the date calculated from the prior day (D-33) calculation. The resulting date would be expressed in month, day, year format.
</p>
<p>Another example would be <b>*QMDY(M+1,D=1)</b>. This indicates that based on the current system date, add one to the month and set the day as the first day of the month. The resulting date would be expressed in month, day, year format.
</p>
<p>Another character that is in some special values is <b>C</b>, which is a century indicator, 0 being the twentieth century and 1 being the twenty first century.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The job that you are submitting does not require any parameters entered here.
</dd>
</dl>
<p><b>Other values (up to 50 repetitions)</b>
</p>
<p><b>Element 1: Parameter name</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the parameter that you want to use with this job.
</dd>
</dl>
<p><b>Element 2: Parameter data</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specifies the parameter data that you want to use for the parameter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.RMTLOCNAME"></a>
<h3>Remote location name (RMTLOCNAME)</h3>
<p>Specifies the location and network identification of the system on which to run the job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>Use the remote location name specified in the job controls.
</dd>
<dt><b>*LCL</b></dt>
<dd>Run the job on the local server.
</dd>
<dt><b><i>remote-location-name</i></b></dt>
<dd>Specify the name of the remote location associated with the system on which to run the job.
</dd>
<dt><b><i>network-ID.remote-location-name</i></b></dt>
<dd>Specify the network identifier and the name of the remote location associated with the system. Specify these values using the format nnnnnnnn.cccccccc where nnnnnnnn is the network identifier and cccccccc is the remote location name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.MAXRUN"></a>
<h3>Maximum run time (MAXRUN)</h3>
<p>Specifies the maximum run duration in minutes for the job.
</p>
<p>
<b>Note: </b>A value specified for the MAXRUN prompt will be ignored when used with schedule code *ALTERNATE.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*NOMAX</b></dt>
<dd>There is no maximum duration for the job.
</dd>
<dt><b><i>1-9999</i></b></dt>
<dd>Specify the number of minutes that is the maximum duration for this job. After this number of minutes has passed, Advanced Job Scheduler will end the job whether it has completed or not.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PGRRCPNORM"></a>
<h3>Notification normal (PGRRCPNORM)</h3>
<p>Specifies the notification recipient who is to receive normal completion messages for the job that you are adding or changing. This field is used in conjunction with the notification command.
</p>
<p>
<b>Note: </b>SMTP information must be specified before this feature may be used with the Send Distribution using JS (SNDDSTJS) command.
</p>
<p>
<b>Note: </b>The values that you specify for Notification recipient normal and Notification message are the substitution variables used for the &amp;RCP and &amp;MSGTXT variables respectively in the CHGNFYJS command.
</p>
<p>You can specify the notification message that you want to send to the specified recipient when the job completes normally.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b>*NONE</b></dt>
<dd>No notification recipient is assigned to receive messages when this job completes normally.
</dd>
</dl>
<p><b>Element 1: Notification recipient</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>You are using the notification recipient specified in the job controls.
</dd>
<dt><b>*ONCALL</b></dt>
<dd>Only recipients that are on-call will receive the message.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of a recipient who is to receive messages from the job when it completes normally.
</dd>
</dl>
<p><b>Element 2: Notification message</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The notification recipient is sent the notification message from the job controls.
</dd>
<dt><b>*COMP</b></dt>
<dd>The completion status of the job is sent.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the notification message that you want to send to the notification recipient when this job completes normally.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PGRRCPABN"></a>
<h3>Notification abnormal (PGRRCPABN)</h3>
<p>Specifies the notification recipient who is to receive abnormal completion messages for the job that you are adding or changing. This field is used in conjunction with the notification command.
</p>
<p>
<b>Note: </b>SMTP information must be specified before this feature may be used with the Send Distribution using JS (SNDDSTJS) command.
</p>
<p>
<b>Note: </b>The values that you specify for Notification recipient abnormal and Notification message are the substitution variables used for the &amp;RCP and &amp;MSGTXT variables respectively in the CHGNFYJS command.
</p>
<p>You can specify the notification message that you want to send to the specified recipient when the job completes abnormally.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b>*NONE</b></dt>
<dd>No notification recipient is assigned to receive messages when this job completes abnormally.
</dd>
</dl>
<p><b>Element 1: Notification recipient</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>You are using the notification recipient specified in the job controls.
</dd>
<dt><b>*ONCALL</b></dt>
<dd>Only recipients that are on-call will receive the message.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of a recipient who is to receive messages from the job when it completes abnormally.
</dd>
</dl>
<p><b>Element 2: Notification message</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The notification recipient is sent the notification message from the job controls.
</dd>
<dt><b>*COMP</b></dt>
<dd>The completion status of the job is sent.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the notification message that you want to send to the notification recipient when this job completes abnormally.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PGRRCPSTR"></a>
<h3>Notification start job (PGRRCPSTR)</h3>
<p>Specifies the notification recipient who is to receive notification for the job that you are adding or changing if the job does not start within the limit after it has been submitted. This field is used in conjunction with the notification command.
</p>
<p>
<b>Note: </b>SMTP information must be specified before this feature may be used with the Send Distribution using JS (SNDDSTJS) command.
</p>
<p>
<b>Note: </b>The values that you specify for Notification recipient start job is the substitution variable used for the &amp;RCP variable in the CHGNFYJS command. The &amp;MSGTXT will be replaced with message IJS6059.
</p>
<p>You can specify the start limit in minutes. This is the amount of time a job can be sitting on the job queue before a notification is issued.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b>*NONE</b></dt>
<dd>No notification recipient is assigned to receive messages when this job exceeds the start limit.
</dd>
</dl>
<p><b>Element 1: Notification recipient</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>You are using the notification recipient specified in the job controls.
</dd>
<dt><b>*ONCALL</b></dt>
<dd>Only recipients that are on-call will receive the message.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of a recipient who is to receive messages if the job does not start within the limit after the job has been submitted.
</dd>
</dl>
<p><b>Element 2: Start limit</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The start limit in the job controls is used.
</dd>
<dt><b><i>1-999</i></b></dt>
<dd>Specify the number of minutes that a job can be sitting on the job queue before a notification is issued.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.ALTJOB"></a>
<h3>Alternate job (ALTJOB)</h3>
<p>Specifies the name of the alternate job for the job. Alternate jobs only run when a regular job terminates abnormally. Jobs are not required to have alternate jobs. If you want to select a job from a job list when prompting this command, place the cursor on this parameter and press F4.
</p>
<p>You can also specify a group and group sequence if the alternate job is a member of a group.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>The job does not have an alternate job.
</dd>
</dl>
<p><b>Element 1: Job</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job that you want to be the alternate job for this job.
</dd>
</dl>
<p><b>Element 2: Group</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The alternate job does not have an alternate group.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the group associated with the alternate job for this job.
</dd>
</dl>
<p><b>Element 3: Group sequence</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The alternate job does not have a sequence number assigned.
</dd>
<dt><b><i>1-99</i></b></dt>
<dd>Specify the sequence number assigned to the alternate job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.RPTDSTID"></a>
<h3>Report distribution ID (RPTDSTID)</h3>
<p>Specifies the report distribution ID that is used to distribute the reports generated as a result of processing the job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>The job does not have a report distribution ID.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the report distribution ID that you want to associate with this job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.RCYACN"></a>
<h3>Recovery action (RCYACN)</h3>
<p>Specifies the recovery action to be taken if the job cannot be submitted at the designated time because the system is powered down or in a restricted state. The action specified on the parameter occurs at the next IPL or when the Advanced Job Scheduler system becomes active.
</p>
<p>Jobs submitted during IPL or when the system comes out of restricted state are submitted in the same order that they would have been had the jobs been submitted at the times specified in the job schedule entries. If multiple occurrences of a recurring job are missed, the job is submitted only once. The first missed occurrence of the job is calculated from the current date.
</p>
<p>Since the scheduler portion of IPL need not be complete for the IPL of the system to be complete, other jobs may start on the system before all of the jobs have been submitted.
</p>
<p>This parameter does not apply:
</p>
<ul>
<li>When a job is released after being held at the date and time it was to be submitted.
</li>
</ul>
<p>
<b>Note: </b>A value specified for the RCYACN parameter will be ignored when used with schedule code *ALTERNATE or *NONE.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The job uses the uses the recovery action specified in the job controls.
</dd>
<dt><b>*SBMRLS</b></dt>
<dd>The job is submitted in release state (RLS).
</dd>
<dt><b>*SBMHLD</b></dt>
<dd>The job is submitted in the held state (HLD).
</dd>
<dt><b>*NOSBM</b></dt>
<dd>The job is not submitted.
<p>Specifying *NOSBM affects only missed occurrences of the job. If the job schedule entry is a recurring job, future occurrences are not affected.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the job description to be used with this job.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The job description in the job controls is used for this job.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The job description in the user profile under which the submitted job 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 to be used for the job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the job description name.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job description name. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the job description name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.JOBQ"></a>
<h3>Job queue (JOBQ)</h3>
<p>Specifies the job queue in which this job is to be placed.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The job queue in the job controls is used for this job.
</dd>
<dt><b>*JOBD</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 (library-name/job-queue-name) of the job queue on which the submitted job is placed.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the job queue name.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job queue. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the job queue name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.JOBPTY"></a>
<h3>Job priority (on JOBQ) (JOBPTY)</h3>
<p>Specifies the job queue scheduling priority. Valid values range from 1 through 9, where 1 is the highest priority and 9 is the lowest priority.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The scheduling default specified in the job controls is used for the job.
</dd>
<dt><b>*JOBD</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 a value to be used for the scheduling priority for the job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.OUTPTY"></a>
<h3>Output priority (on OUTQ) (OUTPTY)</h3>
<p>Specifies the output queue priority for spooled output files that are produced by this job. Valid values range from 1 through 9, where 1 is the highest priority and 9 is the lowest priority.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The output priority default specified in the job controls is used for the job.
</dd>
<dt><b>*JOBD</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 a value to be used for the output priority for the job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PRTDEV"></a>
<h3>Print device (PRTDEV)</h3>
<p>Specifies the default printer device for this job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The printer specified in the job controls is used by the job as the printer device.
</dd>
<dt><b>*CURRENT</b></dt>
<dd>The same printer device being used by the job that is currently running is used for this job.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The printer device specified in the user profile where the submitted job runs is used as the printer device for this job. The printer device name is obtained from the profile when this job is submitted.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The printer device specified in the system value, QPRTDEV, when this job is submitted is used.
</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="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.OUTQ"></a>
<h3>Output queue (OUTQ)</h3>
<p>Specifies the output queue to be used for spooled output produced by the job. This parameter only applies 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 value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The output queue specified in the job controls is used as the job's output queue.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The output queue in the user profile where the submitted job runs is used as the output queue for this job.
</dd>
<dt><b>*DEV</b></dt>
<dd>The output queue associated with the printer device for the spooled file is used.
</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 to be 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>The library list is used to locate the output queue name.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the output queue name. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the output queue name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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; a user name must be specified instead.
</p>
<p><b>Note: </b>The following IBM-supplied objects are not valid on 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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The user profile specified in the job controls is used for the job being submitted.
</dd>
<dt><b>*CURRENT</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. You must be authorized to the user profile; the user profile must be authorized to the job description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.PRTTXT"></a>
<h3>Print text (PRTTXT)</h3>
<p>Specifies up to 30 characters of text that is printed at the bottom of each page of printed output and on separator pages.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls is used for this job.
</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 for this job.
</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. The text on the listing will be centered in the same way it is entered.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.RTGDTA"></a>
<h3>Routing data (RTGDTA)</h3>
<p>Specifies the routing data used to start the first 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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls for routing data is used for this job.
</dd>
<dt><b>*JOBD</b></dt>
<dd>The routing data specified in the job description is used to start the routing steps.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the character string that is used as routing data for 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="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.CURLIB"></a>
<h3>Current library (CURLIB)</h3>
<p>Specifies the name of the current library associated with the job being run.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The current library in the job controls is used for the submitted job.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The current library in the user profile where the submitted job 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 name of a library used as the current library of the submitted job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.LIBL"></a>
<h3>Library list (LIBL)</h3>
<p>Specifies the name of the library list that is used to search for any operating system object names that were specified without a library qualifier. If you want to select a library list from a list when promting this command, place the cursor ont this parameter and press F4.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The library list in the job controls is used for this 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 for this job will be empty.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library list that you want to use for this job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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. If no values are specified on this parameter, the values specified in the job description associated with this job are used.
</p>
<p><b>Element 1: Level</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value specified in the job controls for logging is used for this job.
</dd>
<dt><b>*JOBD</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 to be used for this job's messages. The values for logging levels are:
<dl>
<dt><b>0</b></dt>
<dd>No data is logged.
</dd>
<dt><b>1</b></dt>
<dd>The following information is logged: All messages sent to the job's external message queue with a severity level greater than or equal to the message severity specified (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>Requests or commands being logged from a CL program for which messages are issued with a severity code greater than or equal to the severity level specified.
</li>
<li>All messages associated with a request, or commands being logged from a CL program, that results in a high-level message with a severity level greater than or equal to the severity specified.
</li>
</ul>
</dd>
<dt><b>3</b></dt>
<dd>The following information is logged:
<ul>
<li>Logging level 1 information.
</li>
<li>All requests or commands being logged from a CL program.
</li>
<li>All messages associated with a request, or commands being logged from a CL program, that results in a high-level message with a severity level greater than or equal to the severity specified.
</li>
</ul>
</dd>
<dt><b>4</b></dt>
<dd>The following information is logged; All requests or commands being logged from a CL program and all messages with a severity code greater than or equal to the severity specified, including trace messages.
<p>
<b>Note: </b>A high-level message is one that is sent to the program message queue of the program that received the request or commands being logged from a CL program.
</p>
</dd>
</dl>
</dd>
</dl>
<p><b>Element 2: Severity</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value specified in the job controls for message severity is used for this job.
</dd>
<dt><b>*JOBD</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 lowest severity level that causes an error message to be logged in the job's log.
</dd>
</dl>
<p><b>Element 3: Text</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value specified in the job controls for message text is used for this job.
</dd>
<dt><b>*JOBD</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 message text is written to the job's log or shown to the user.
</dd>
<dt><b>*SECLVL</b></dt>
<dd>Both the message text and message help of the error message is written to the job's log or shown to the user.
</dd>
<dt><b>*NOLIST</b></dt>
<dd>No job log is produced if the job completes normally. If the job ends abnormally (if the end of job code is 20 or higher), a job log is produced. The messages appearing in the job's log contain both message text and help text.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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 LOG parameter on the Create CL Program (CRTCLPGM) command, the value specified for this parameter is used. Other values for the LOG parameter override the value specified for this parameter. The commands are logged in the same manner as the requests.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls is used for this job.
</dd>
<dt><b>*JOBD</b></dt>
<dd>The value specified in the job description is used.
</dd>
<dt><b>*YES</b></dt>
<dd>The commands in a CL program are logged to the job log.
</dd>
<dt><b>*NO</b></dt>
<dd>The commands in a CL program are not logged to the job log.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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 no change is made in the way that predefined messages are answered, 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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls for inquiry message reply is used for this job.
</dd>
<dt><b>*JOBD</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 that occur 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="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls for hold on job queue is used for this job.
</dd>
<dt><b>*JOBD</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>*YES</b></dt>
<dd>The job is held when it is put on the job queue until it is released by a Release Job (RLSJOB) command or ended by an End Job (ENDJOB) command.
</dd>
<dt><b>*NO</b></dt>
<dd>The job is not held when it is put on the job queue.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls for job switches is used for this job.
</dd>
<dt><b>*JOBD</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="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.MSGQ"></a>
<h3>Message queue (MSGQ)</h3>
<p>Specifies the name of 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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The value in the job controls for message queue is used for this job.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>A completion message is sent to the message queue specified in the user profile of the submitter.
</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 to be sent.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the message queue name.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library is used to locate the message queue name. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the message queue name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The accounting code for jobs using this description is obtained from the job controls.
</dd>
<dt><b>*JOBD</b></dt>
<dd>The accounting code for jobs using this description is obtained from the job description.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The accounting code for jobs using this description is obtained from the user profile associated with the job.
</dd>
<dt><b>*BLANK</b></dt>
<dd>An accounting code of 15 blanks is assigned to jobs that use this description.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the accounting code that you want to use for jobs using this description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.RUNPTY"></a>
<h3>Run priority (RUNPTY)</h3>
<p>Specifies the run priority of running for the job. Priority of running is a value ranging from 1 (highest priority) through 99 (lowest priority), that represents the importance of the job when it competes with other jobs for machine resources. This value represents the relative (not absolute) importance of the job. If the job is rerouted, this value is reset according to the job's importance within the job class.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The run priority is obtained from the job controls.
</dd>
<dt><b>*NOCHG</b></dt>
<dd>The run priority is not changed when job processing starts.
</dd>
<dt><b><i>01-99</i></b></dt>
<dd>Specify the run priority that the job uses.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="SBMJOBJS.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 Auxiliary Storage Pool 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>*SAME</u></b></dt>
<dd>The value specified in the Advanced Job Scheduler job entry is used.
</dd>
</dl>
<dl>
<dt><b>*JOBCTL</b></dt>
<dd>The inital ASP group is obtained from the job controls.
</dd>
<dt><b>*CURRENT</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="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="SBMJOBJS.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
SBMJOBJS JOB(JOB02) TIME('300') DATE('8/19/99')
</pre>
</p>
<p>This command submits job JOB02 and schedules it to run at 3:00 a.m. on August 19, 1999. DATE is expressed in <b>mm/dd/yy</b> format in this example.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="SBMJOBJS.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#SBMJOBJS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>