Hitachi

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


SPOOLJOB_CHILDJOB parameter (defines how a spool job of a child job is to be handled)

Organization of this page

Format

#-adsh_conf SPOOLJOB_CHILDJOB {DELETE|MERGE}

Description

This parameter specifies whether the spool job of a child job is to be deleted or is to be merged into the spool job of the root job when the child job terminates.

Operands

DELETE

Specifies that the spool job of a child job is to be deleted when the child job terminates.

Of the child job's job execution logs, only the contents of JOBLOG are output to the standard error output.

For an example of the job execution log output when DELETE is specified, see 3.4.2 Examples of job execution log output.

MERGE

Specifies that the spool job of a child job is to be merged into the spool job of the root job when the child job terminates. As a result, the following processing occurs:

  • The job execution logs of child jobs are merged into the job execution logs of the root job and are output in the order in which the child jobs terminated.

  • JOBLOG and SCRIPT of the root job are created with contents into which JOBLOGs and SCRIPTs of the child jobs have been merged.

  • Job execution logs are output to the following location in a format that clearly shows whether the output contents are for the root job or child jobs:

    During normal execution: Standard error output (STDERR, step-number_step_name_STDERR)

    During debugging: Standard output and standard error output on the terminal screen

  • The program output data files assigned by the #-adsh_spoolfile command during child job execution are created under the spool job directory of the root job with the following names:

    #-adsh_spoolfile command's execution location

    File name to be assigned (in Windows, the extension .sysout is added.)

    Outside the job step of a child job

    Cnumber-giving-the-order-in-which-a-child-job-starts_0000_job-name_sequence-number-of-file-environment-variable-definition-name_file-environment-variable-definition-name

    Inside the job step of a child job

    Cnumber-giving-the-order-in-which-a-child-job-starts_step-number_step-name_sequence-number-of-file-environment-variable-definition-name_file-environment-variable-definition-name

If the same job definition script is executed multiple times as child jobs, SCRIPT is output the number of times the script is executed.

For details about how to create a spool job directory, see 3.3.2 Outputting job execution results to spool. For details about the format for outputting job execution logs, see 3.4.1(3) Merging a child job's spool job into the root job's spool job.

When MERGE is specified, the maximum number of child jobs that can be started from a single root job, including child jobs started from child jobs, is 9,999,999. Child jobs that exceed this limit terminate in an error. However, if the OS-specified process count or file count limit is reached first, the OS's error processing takes precedence.

For an example of the job execution log output when MERGE is specified, see 3.4.3 Example of job execution log output (when a child job's spool job is merged into the root job's spool job).

Notes

Example