ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/rbam6jobexpand.htm

115 lines
6.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="JOB parameter" />
<meta name="abstract" content="The JOB parameter specifies the name of the job to which the command is applied." />
<meta name="description" content="The JOB parameter specifies the name of the job to which the command is applied." />
<meta name="DC.Relation" scheme="URI" content="rbam6expand.htm" />
<meta name="DC.Relation" scheme="URI" content="rbam6simpqual.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbam6jobexpand" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>JOB parameter</title>
</head>
<body id="rbam6jobexpand"><a name="rbam6jobexpand"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">JOB parameter</h1>
<div><p>The JOB parameter specifies the name of the job to which the command
is applied.</p>
<div class="section"><p> The job name identifies all types of jobs on the system. Each
job is identified by a qualified job name, which has the following format:</p>
<p><samp class="codeph">job-number/user-name/job-name</samp></p>
<div class="p"> <div class="note"><span class="notetitle">Note:</span> Although
the syntax is similar, job names are qualified differently than i5/OS™ object
names.</div>
</div>
<p>The following list describes the pieces of the qualified
job name:</p>
<ul><li>Job number: The job number is a unique 6-digit number that is assigned
to each job by the system. The job number provides a unique qualifier if the
job name is not otherwise unique. The job number can be determined by means
of the <span class="cmdname">Display Job (DSPJOB)</span> command. If specified, the
job number must have exactly six digits.</li>
<li>User name: The user name identifies the user profile under which the job
is to run. The user name is the same as the name of the user profile and contains
a maximum of 10 alphanumeric characters. The name can come from one of several
sources, again, depending on the type of job: <ul><li>Batch job: The user name is specified on the SBMJOB command, or it is
specified in the job description referenced by the BCHJOB or SBMJOB commands.</li>
<li>Interactive job: The user name is specified at sign-on, or the user name
is provided from the default in the job description referred to by the work
station's job entry.</li>
<li>Autostart job: The user name is specified in the job description referred
to by the job entry for the autostart job.</li>
</ul>
</li>
<li>Job name: The job name can contain a maximum of 10 alphanumeric characters,
of which the first character must be alphabetic. The name can come from one
of three sources, depending on the type of job: <ul><li>Batch job: The job name is specified on the <span class="cmdname">Batch Job (BCHJOB)</span> or <span class="cmdname">Submit
Job (SBMJOB)</span> commands or, if not specified there, the unqualified
name of the job description is used.</li>
<li>Interactive job: The job name is the same as the name of the device (work
station) from which the sign-on was performed.</li>
<li>Autostart job: The job name is provided in the autostart job entry in
the subsystem description under which the job runs. The job name was specified
in the <span class="cmdname">Add Autostart Job Entry (ADDAJE)</span> command.</li>
</ul>
</li>
</ul>
<p>Commands only require that the simple name be used to identify the
job. However, additional qualification must be used if the simple job name
is not unique.</p>
</div>
<div class="section"><h4 class="sectiontitle">Duplicate job names</h4><p>If a duplicate job name is specified
in a command in an <em>interactive</em> job, the system displays all of the
duplicates of the specified job name to the user in qualified form. The job
names are displayed in qualified form along with the user name and job number
so that you can further identify the job that is to be specified in a command.
You can then enter he correct qualified job name.</p>
<p>If a duplicate job
name is used in a command in a <em>batch</em> job, the command is not processed.
Instead, an error message is written to the job log.</p>
<p>The JOB parameter
can have one or more of the following values, depending upon the command:</p>
</div>
<div class="section"><h4 class="sectiontitle">Values allowed</h4><dl><dt class="dlterm">*</dt>
<dd>The job is the one in which the command is entered; that is, the command
with JOB(*) specified on it.</dd>
<dt class="dlterm">*JOBD</dt>
<dd>The simple job name is the unqualified name of the job description.</dd>
<dt class="dlterm">*NONE</dt>
<dd>No job name is specified as in the Display Log (DSPLOG) command.</dd>
<dt class="dlterm"><var class="varname">job-name</var></dt>
<dd>A simple job name is specified.</dd>
<dt class="dlterm"><var class="varname">qualified-job-name</var></dt>
<dd>You must specify a qualified job name. If no job qualifier (user name
and job number) is given, all of the jobs currently in the system are searched
for the job name. If duplicates of the specified name are found, a qualified
job name must be specified.</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6expand.htm" title="This section contains the expanded descriptions of some of the parameters commonly used in the CL commands.">Commonly used parameters</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbam6simpqual.htm" title="The name of a specific object that is located in a library can be specified as a simple name or as a qualified name.">Simple and qualified object names</a></div>
</div>
</div>
</body>
</html>