60 lines
4.1 KiB
HTML
60 lines
4.1 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="task" />
|
|
<meta name="DC.Title" content="Submit a job once" />
|
|
<meta name="abstract" content="When you need to run a job once, whether immediately or at a scheduled date and time, use the Submit Job (SBMJOB) command. This method places the job on the job queue immediately." />
|
|
<meta name="description" content="When you need to run a job once, whether immediately or at a scheduled date and time, use the Submit Job (SBMJOB) command. This method places the job on the job queue immediately." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksmngjbcmntsk.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakshowjobsrschdsbmjob.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzakssmtjobonce" />
|
|
<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>Submit a job once</title>
|
|
</head>
|
|
<body id="rzakssmtjobonce"><a name="rzakssmtjobonce"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Submit a job once</h1>
|
|
<div><p>When you need to run a job once, whether immediately or at a scheduled
|
|
date and time, use the Submit Job (<span class="cmdname">SBMJOB</span>) command. This
|
|
method places the job on the job queue immediately.</p>
|
|
<div class="p">To submit a batch job once, use the character-based interface.</div>
|
|
<div class="section"><strong>Command</strong>: Submit Job (<span class="cmdname">SBMJOB</span>)<p>The <span class="cmdname">SBMJOB</span> command
|
|
submits a job to a batch job queue by specifying a job description and by
|
|
specifying a CL command or request data, or specifying routing data to run
|
|
a program. If you want to run a single CL command in a the batch job, use
|
|
the <span class="parmname">CMD</span> parameter on <span class="cmdname">SBMJOB</span>, which
|
|
does syntax checking and allows prompting. </p>
|
|
<p></p>
|
|
</div>
|
|
<div class="example"><strong>Example</strong>: In the following example, the <span class="cmdname">SBMJOB</span> command
|
|
submits a job named WSYS, using the job description QBATCH, to the job queue
|
|
QBATCH. The <span class="parmname">CMD</span> parameter gives the CL command that will
|
|
run in the job. <blockquote><pre>SBMJOB JOBD(QBATCH) JOB(WSYS) JOBQ(QBATCH) CMD(WRKSYSSTS)</pre>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmngjbcmntsk.htm" title="This information discusses the most common tasks that you can perform with jobs. It provides you with instructions for both iSeries Navigator (where available) and the character-based interface.">Common job tasks</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzakshowjobsrschdsbmjob.htm" title="This character-based interface command controls the time a job is released in the job queue. It is an easy way to schedule a job that only needs to run once. It allows you to use many of the job attributes defined for your current job.">The submit job command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |