Hitachi

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


#-adsh_script command (calls an external job definition script file from the job definition script that is running)

Organization of this page

Format

#-adsh_script job-definition-script-file-name

Description

This command inserts the contents of an external job definition script file at the time the JP1/Advanced Shell was launched into the currently-running job definition script file. You can call a maximum of 4,095 external job definition script files from a job definition script that is running. An external script that is called is unpacked within the job definition script that contains the calling function. That job definition script is then parsed and executed as a single job definition script.

Arguments

job-definition-script-file-name

Windows: ~<path name>((1 to 247 bytes))

UNIX: ~<path name>((1 to 4,096 bytes))

Specifies the path of the job definition script file that to be deployed. If you specify a relative path, it is interpreted relative to the current directory at the time the job controller was launched.

Return codes

Return code

Meaning

Return code of the last command to terminate in the external script that was called

Normal termination

1

Error termination

Note:

You cannot use an environment setting parameter to change the return code when the #-adsh_script command terminates normally.

Notes