3.6.2 Outputting job definition script operation information
You use the adshevtout command to output job definition script operation information from the event file on the spool to a CSV file.
For details about how to specify the adshevtout command and an example output of job definition script operation information, see adshevtout command (outputs job definition script operation information) in 8. Commands Used During Operations.
- Organization of this subsection
(1) Specifying a job whose job definition script operation information is to be output
You use the adshevtout command to specify a job whose job definition script operation information is to be output.
The following job information can be specified to select the job definition script operation information that is to be output:
-
Range of job's execution start date and time
-
JP1/AJS job name, job execution ID, and job number
-
JP1/Advanced Shell job name, job ID, and path name of the job definition script file
If multiple conditions are specified, the information that satisfies all the specified conditions is output.
If no conditions are specified, the job definition script operation information for all jobs on the spool is output (except that job definition script operation information located in inaccessible event files will not be output).
(2) Controlling the job definition script operation information that is to be output
You can use the adshevtout command to control which information will be output, such as the following:
-
Suppress output of header information
-
Output only the header information (do not output the job definition script operation information itself)
-
Output only the messages contained in the job definition script operation information
-
Do not output information about environment variables in the job definition script operation information
(3) Spool to be referenced
The adshevtout command references the event files on the spool to output job definition script operation information.
The spool to be referenced by the adshevtout command is determined by the specified environment file in the same manner as for the adshexec command.
If a logical host is specified in the adshevtout command, the command uses the spool corresponding to the specified logical host in the same manner as for the adshexec command.
(4) Output destination of the job definition script operation information
The job definition script operation information is output to the adshevtout command's standard output (stdout).
If you use the redirect function, you can also output the operation information to a file.