Hitachi

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


CHILDJOB_PGM parameter (defines a program path specification that is to be executed as descendent jobs)

Organization of this page

Format

#-adsh_conf CHILDJOB_PGM program-path-name [arguments-of-executable-program]

Description

This parameter specifies that when the file specification program-path-name [arguments-of-executable-program] appears in a job definition script, the KNAX6830-I message is to be output to the job execution logs, the file is to be interpreted as a job definition script, and then the file is to be executed as a child job. You can use the JOBLOG_SUPPRESS_MSG parameter to suppress output of the KNAX6830-I message to the job execution logs.

The following shows an example:

Example specification of parameter:
#-adsh_conf CHILDJOB_PGM sh -x
Contents of job definition script:
sh -x $HOME/script/test.ash

This example interprets $HOME/script/test.ash as a job definition script and executes it as a child job.

The total number of program-path-name and arguments-of-executable-program operands combined that can be specified is 64. If more than 64 operands are specified, the command will terminate with an error during parameter analysis.

In the Windows edition, even if the CHILDJOB_PGM parameter is omitted from the environment file, a CHILDJOB_PGM parameter with adshscripttool -exec specified for the program path is defined. For details about the adshscripttool command, see adshscripttool command (supports creation of job definition scripts) (Windows only).

Operands

program-path-name ~<path name>((1 to 1,023 bytes))

Defines a program path that is to be converted to a program to be executed as a child job. Specifying as a value only the null character enclosed in double quotation marks (") is not permitted. The backslash (\) is not handled as an escape character.

arguments-of-executable-program ~<any character string>((1 to 1,023 bytes))

Defines arguments of the program path that is to be converted to a program to be executed as a child job. You can specify multiple arguments by delimiting them with the space or tab character. The backslash (\) is not handled as an escape character.

Notes

Example

These examples execute $HOME/script/test.ash in the job definition script as a child job. The contents of the job definition script and environment file are shown below. The information specified in the CHILDJOB_PGM parameter is underlined.