6.2.16 Displaying job step information (info jobsteps command)
The info jobsteps command displays job step information. The abbreviation for the info jobsteps command is i j. The following shows the format of the info jobsteps command:
info jobsteps[ job-step-name]
When a job step name is specified in the argument, the command displays that job step name and the corresponding file name and line number. If the argument is not specified, the command displays all job step names and the corresponding file names and line numbers. The following shows the display format:
Jobstep File:Line job-step-name file-name:line-number ...
job-step-name: Name of a defined job step. When all job steps are displayed, the command displays this information in ASCII code order of the job step names. A maximum of 31 bytes can be displayed for each job step name. The command adjusts the column based on the length of the job step names. If a job step name was omitted, the command displays <No name> for that job step.
file-name: Name of the job definition script file in which the job step is defined.
line-number: Line number at which the job step is displayed.
The following describes the info jobsteps command's processing.
- When the info jobsteps command argument is omitted
The command displays all job step names and the corresponding file names and line numbers.
- When the info jobsteps command argument is specified
If the specified job step name exists, the command displays the specified job step name and the corresponding file name and line number.
If a nonexistent job step name is specified, the command outputs an error message.
- Notes:
You can display job step information regardless of whether run has been executed because this information is loaded when the adshexec command starts.
- Example of output
This example displays job step names and the corresponding file names and line numbers:
Jobstep File:Line step1 script1.ash:10 step2 script1.ash:30 step3 script2.ash:10