Viewing the job logs from the host

An overview on how to view or retrieve the job logs issued in the z-centric environment and how to attach a header with job run information on top of each log.

There are two ways of retrieving the job logs:

  • You can manually request to browse the log of a specific job (on demand) or have automatically displayed the logs of jobs that ended in error. To browse the log you can use any of the available user interfaces (ISPF dialogs, Dynamic Workload Console, or programing interfaces).

    To specify the job log retrieval policy (on demand, or automatic for ended-in-error), define the JOBLOGRETRIEVAL keyword in the HTTPOPTS initialization statement. See Customization and Tuning.

  • You can activate the Output collector started task to have the logs of all jobs, independently of their outcome, sent to the JES spool to be picked up by an external output management product.

On all the job logs originated from the z-centric environment you can customize HCL Workload Automation for Z so that a header is added automatically at the top of the job log with the information necessary to classify the output (occurrence name, occurrence IA, job name, workstation name, operation number, start time, end time) and information about the run (process ID, return code, duration, status, hostname).

Remember: to have the job log header mechanism functioning for workload run on dynamic agents, the dynamic agents must be running at least version 8.6.0.1 of HCL Workload Automation.