Hitachi

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


2.6.5 Defining files to be started as child jobs

You can specify a job definition script as a command name in another job definition script. This enables you to run a job definition script specified in the adshexec command as a JP1/Advanced Shell job. This feature is useful in the following cases:

Of the job definition scripts that are executed as descendant processes, those jobs that are executed by using specific environment setting parameters are called child jobs. For details about root jobs and child jobs, see 3.1.2(1) Root jobs and child jobs. For details about how to execute job definition scripts as child jobs, see 3.2.3 Executing job definition scripts as child jobs.

If you will be starting job definition script files as child jobs, you must specify in an environment file the conditions for the files to be used. The following provides an overview of the environment setting parameters.

A job definition script file that you create that satisfies the default definition for the CHILDJOB_SHEBANG parameter is run as a child job.

For details about the individual parameters, see 7. Parameters Specified in the Environment Files.

Important note

If you want to run both root and child jobs by using the same environment file parameters, do not change the ADSH_ENV environment variable values or the contents of the environment files during job execution.