How are job standard output and error log files retrieved?
search cancel

How are job standard output and error log files retrieved?

book

Article ID: 438825

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

What is the internal process flow when a request is made to display a job's standard output (std_out) or standard error (std_err) log file?

Environment

Workload Automation AE (AutoSys Edition) 24.x

Resolution

When a user requests job logs through the Workload Control Center (WCC) QuickView/Monitor tab, the WebUI, or via the command-line utility (autosyslog -J <job_name> -tO or -tE), the system executes the following architectural process flow:

  1. Client Request: The client interface (WCC, WebUI, or the autosyslog binary) contacts the AutoSys Application Server.

  2. Database Lookup: The Application Server queries the AutoSys database (ujo_job_runs and ujo_extended_jobrun_info tables) to determine:

    • The targeted execution machine (run_machine) where that specific job run occurred.

    • The full path and filename specified for the standard output or standard error file.

  3. Agent Contact: The Application Server connects directly to the Workload Automation System Agent listening on that remote host.

  4. Log Reading & Transfer: The Agent reads the requested file from its local file system and streams the data back to the Application Server using Application Framework Messages (AFM).

  5. Display: The Application Server transmits the received text blocks back to the initiating client (WCC or command line) for display.

Additional Information * For tracking job run history and related path fields, review the following database structures:

  • ujo_job_runs

  • ujo_extended_jobrun_info