AutoSys Job Dependency Flow Listing and Reporting Options
search cancel

AutoSys Job Dependency Flow Listing and Reporting Options

book

Article ID: 419773

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Users often seek a comprehensive listing of job dependencies across an entire AutoSys instance, whether for auditing, system documentation, or overall understanding of job flows. The challenge lies in finding a single, centralized method or report that provides a complete dependency map for all defined jobs.

Environment

Product: AutoSys Workload Automation

Component: Workload Control Center (WCC) / AutoSys WebUI

Command-Line Utilities (job_dependsautorep

Resolution

While there isn't a single, aggregated report for all job dependencies across an entire AutoSys instance, several methods can be utilized to view or extract dependency information for individual jobs. This information can then be compiled or analyzed as needed for a broader understanding.

  1. WCC/WebUI QuickView - JobFlow Section:

    • Navigate to the JobFlow section within the QuickView in either WCC or the AutoSys WebUI.
    • Select a specific job to view its graphical representation of dependencies.
    • This flow can be downloaded as a PDF or PNG file directly from the interface.
    • Limitation: This method displays dependencies only for the currently selected job and its direct relationships; it does not provide a view of every job in the entire instance.
  2. job_depends Command-Line Utility:

    • The job_depends command retrieves dependencies for a single specified job from the command line.
    • To view child (downstream) dependencies for a job:
      bash job_depends -J <jobname> -c
    • To view parent (upstream) dependencies for a job:
      bash job_depends -J <jobname> -d
    • Limitation: This command operates on a per-job basis and does not provide an aggregated report for all jobs simultaneously.
  3. autorep -q -J ALL for Audit Requirements:

    • For auditing or comprehensive documentation purposes, where a full list of all job definitions is required, use the autorep command to extract all job definitions:
      bash autorep -q -J ALL
    • This command outputs the complete definition for every job in the instance, including dependency attributes (e.g., condition:).
    • Important: Auditors or administrators can then use this raw data, potentially in conjunction with external scripting or parsing tools, to reconstruct and visualize dependency relationships.
    • Limitation: The raw output from autorep -q -J ALL requires significant further processing to visualize or interpret the complete dependency graph for all jobs.