Download PDF ActiveBatch User`s Guide

Transcript
Chapter 9 - Using the ActiveBatch Command-Line Interface
/SCHEDULE=(name,…)
If specified this qualifier indicates that the named schedules should be associated with this job. The
schedules must already exist (if not, you should use the INITIALIZE/SCHEDULE command to create
one).
/SUCCESS_RULE=(n | n-n | ODD | EVEN | LZERO | NTMSG,…)
This qualifier indicates how ActiveBatch interprets the main job step’s exit code. The values specified
all indicate that the job completed successfully. You may specify a single value, a range of values
and/or a keyword indicating success.
/SUCCESS_START=(job-id,…)
This qualifier indicates one or more jobs to trigger if the job completes successfully. One or more jobid’s are entered in a comma delimited format.
/TAKE_OWNERSHIP
This qualifier indicates that the current user is requesting ownership of the specified job. The user
must have Executive or Full access permission in order to successfully take ownership.
/[NO]TERMINATE
This qualifier indicates whether children processes should be terminated when the job exits. On
Windows NT V4, children processes are identified as having the same parent id (PID). This technique
is not precise. On Windows 2000, a job with this qualifier enabled, is created as a job object.
OpenVMS and Unix operating systems terminate child or subprocess trees regardless of the setting of
this qualifier. By default, /NOTERMINATE is assumed.
/TIME_ZONE= CLIENT | JOBSCHED | UTC
This qualifier indicates the time zone which should be used by the Job Scheduler to actually schedule
time triggers. By default the Job Scheduler’s time zone is used.
/USERNAME=username
This qualifier is used to set the username that initially submitted the job for execution. Typically when
this qualifier is used, the /PASSWORD qualifier is asserted as well.
/WORKING_FOLDER=device-directory-spec
This qualifier indicates the default working directory for this job.
Example:
$ SUBMIT C:\TEST\TEST.XCP /QUEUE=TESTQUEUE –
/NAME=TESTJOB /NOOUTPUT /USERNAME="XLNTUSER" /PASSWORD="12345"
This example will submit a batch job with a procedure name of C:\TEST\TEST.XCP, to a queue named
TESTQUEUE, with a jobname of "TESTJOB" and will not send the output to a Logfile. It will also submit
it under a username of XLNTUSER and a password of 12345.
307