Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

14.2.1 jobstart Statement

Synopsis

jobstart [job name] [,prt(printer name) [,op] [,oh] [,nop] ]
       [,joblst({0|1})]

Description

This statement means the start of a job and must be entered before any other JCL control statements.

It specifies whether job output will be batch or not, and whether job output is to be suspended or not.

Operands

job name

Specify the job name. The job name can be specified with up to 64 bytes.

If the -j option is specified in the qsub command, the job name specified in the -j option is used.

For scheduled jobs where [Job name] is specified in the [Standard information] sheet of the [Add/Change - Job] window, the job name specified in [Job name] is used.

For demand jobs where [Job Name] is specified in the [Standard information] sheet of the [Edit Job Information/Submit] dialog box/window, the job name specified in [Job Name] is used.

The job file name is used if this operand is omitted and none of the following are specified:

prt (printer name)

Specify the printer name for outputting JCL's standard output, standard error output, and job list. If the oh, op or nop operand is specified, this operand is necessary.

The printer name specified in this operand will be used as the default value of the prt operand in file control statement. Therefore, if you want to omit the printer name in each file control statement, this operand must be specified.

The printer name to be specified must satisfy the following requirements.

The printer name can be specified by using its actual name or the alias which has been defined on the [Print Format] sheet in the [Define Operating Information] window of Job Execution Control. [Windows]

op

Specify when outputting the standard output file, standard error output file, and job list file for job batch output.

oh

Specify when changing the job output status to hold after job termination. If this operand is not specified, an output request is automatically issued after job termination and the job is deleted.

nop

If there is a job output (if the prt operand is specified in JCL), after the job output is completed, the job is not deleted but saved as an output held job in the server where Systemwalker Operation Manager is installed.

Held jobs can be output again from the client window or by performing hold release operation with the command on the server. After re-execution, the job will be saved on the server on which Systemwalker Operation Manager is installed.

By specifying this operand, jobs saved on the server on which Systemwalker Operation Manager is installed will not be deleted from this server unless you perform the deletion. Delete unwanted jobs from the client window or by performing deletion operation with the command on the server.

joblst({0|1})

If joblst(1) is specified, the job list will be output. If joblst(0) is specified or the joblst operand is omitted, the job list will not be output.


The job list file will be created with the following names with the same path as the standard output file:

... \job name.ljob number

The following information is output in the job list:

The following is an example of job list output:

MJS800I MJSRJOB JOB CONTROL START 10/14.11:11: 1
MJS802I CONNECT TO nomonomo
MJS804I send1 SENT 8BYTES
MJS805I JOB START ON nomonomo 10/14.11:11: 3
MJS806I JOB STOP ON nomonomo 10/14.11:11:18 CODE(0)
MJS804I STDOUT RECEIVED 18KB
MJS804I STDERR RECEIVED 0BYTES
MJS804I recv1 RECEIVED 9BYTES
MJS803I DISCONNECT TO nomonomo
MJS801I MJSRJOB JOB CONTROL STOP 10/14.11:11:19

Example

In this example, the job name is "updatejob", the output destination is "printer1", and a standard output/standard error output has been specified. When the job ends, the output will not be printed immediately. The output is placed on hold, and even if the hold is later cancelled and the output is printed, the job will not be purged but put on output hold again.

jobstart updatejob,prt(printer1),op,oh,nop,joblst(1)