Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


3.3.4 Suppressing output of information and warning messages to job execution logs

If you intend to use job execution results with other programs, you might want to suppress the following types of output:

To suppress these outputs, use one the following methods to specify the simple output mode or the minimum output mode:

If both are specified, the adshexec command specification takes effect. If neither is specified, the expansion output mode is assumed.

Organization of this subsection

(1) Differences in output contents among the expansion output mode, the simple output mode, and the minimum output mode

The following table describes the differences in the output contents among the expansion output mode, the simple output mode, and the minimum output mode.

Table 3‒1: Differences in output contents among the expansion, the simple, and the minimum output modes

Output timing

Expansion output mode

Simple output mode

Minimum output mode

Job execution

The contents of the standard output and the standard error output depend on the type of job:

  • Root jobs

    The contents of the standard output and the standard error output are output to the spool job directory.

  • Child jobs

    Output to their output destinations at the time the process started.

The contents of the standard output and the standard error output are output to their output destinations at the time the process started.

Of the JP1/Advanced Shell messages that are to be output to the standard output and the standard error output, only error messages are output.#1

Same as at the left

Job termination

Job execution logs are output to the standard error output (for child jobs, the output is to the root-job's standard error output#2).

Job execution logs are not output to the standard error output. However, error messages to be output only to JOBLOG are also output to the standard error output during job execution in order to report errors.

A child job's JOBLOG is created under the root job's spool job directory and is retained even after the job has terminated.#2

This handling is in effect regardless of the specification of the JOBEXECLOG_PRINT parameter.

Same as at the left

Debug execution

JOBLOG is output to the standard error output at suitable times.

JP1/Advanced Shell messages that are to be output to the standard output and the standard error output are output to the standard output and the standard error output in effect at the time debug execution started.

JOBLOG is not output to the standard error output.

JP1/Advanced Shell messages that are to be output to the standard output and the standard error output are output to the standard output and the standard error output in effect at the time debug execution started.

When debugging is terminated, only error messages are output. However, a child job that is not subject to debugging is run in the same manner as in normal execution.

JOBLOG is not output to the standard error output.

JP1/Advanced Shell messages that are to be output to the standard output and the standard error output are output to the standard output and the standard error output in effect at the time debug execution started.

When debugging terminates, only messages that are not subject to output suppression are output. However, a child job that is not subject to debugging is run in the same manner as in normal execution.

#1

In addition to error messages, some messages are output as exceptions. For details about such exception messages and the destinations by message type, see 11.2 Message output destinations.

#2

Not output when a child job's job execution log is merged into the root job's job execution log (MERGE is specified in the SPOOLJOB_CHILDJOB parameter).

If you start a job definition script from another job definition script in the simple output mode or the minimum output mode, use child jobs. If a root job is started in the simple output mode or the minimum output mode, error messages are displayed in the standard error output.

(2) How to locate the spool job directory of a job that was executed in the simple output mode or the minimum output mode

When the simple output mode or the minimum output mode is selected, messages that display job IDs and spool job directory names are no longer output. The following describes how to locate the spool job directory of a job that was executed in the simple output mode or the minimum output mode: