9.5 Extended script commands
The extended script commands begin with #-adsh_ and are used in job definition script files.
You use extended script commands to create files and assign them to environment variables, to perform postprocessing of files after executing a job definition script or job step, and to declare the job name of a job definition script. In addition, you can define job steps, control the execution of jobs, and call external scripts with extended script commands.
The return code of an extended script command can be changed with the ADSHCMD_RC_ERROR and ADSHCMD_RC_SUCCESS environment setting parameters. However, the return code cannot be changed in the following circumstances:
-
Normal termination or error termination of a job step by the #-adsh_step_end command
-
Normal termination by the #-adsh_script command
For details about the environment setting parameters, see 7. Parameters Specified in the Environment Files.
- Organization of this section
-
-
#-adsh_file command (specifies assignment and postprocessing of regular files)
-
#-adsh_file_temp command (assigns and postprocesses a temporary file)
-
#-adsh_job_stop command (defines termination conditions for a job)
-
#-adsh_path_var command (defines shell variables for handling path names)
-
#-adsh_rc_ignore command (defines commands to always terminate normally)
-
#-adsh_spoolfile command (assigns a program output data file)
-
#-adsh_step_start command, #-adsh_step_error command, #-adsh_step_end command (defines a job step)
-