AutoSys Workload Automation

  • 1.  query all jobs within a box job

    Posted Dec 19, 2017 03:13 AM

    Hi

    I'd like to get some jobs list that are included in any box job.

    Do you know how to query (ujo_job or any other tables) the jobs within a box?

    There might be boxes with multi level depth in a box.

    I want to get all jobs and box jobs name list in top level box with oracle query statement.

    Thanks in advanced.



  • 2.  Re: query all jobs within a box job
    Best Answer

    Broadcom Employee
    Posted Dec 19, 2017 04:06 AM

    Hi ,

     

    You can use the following command to get the list:

     

    autorep -J ALL -L 0

     

    Thanks,

    Roya



  • 3.  Re: query all jobs within a box job

    Broadcom Employee
    Posted Dec 19, 2017 04:08 AM

    Hi Han,

     

    The following command will return all the topest level boxes:

     

    autorep -J ALL -L 0

     

    I hope this can help.

     

    Thanks,

    Roya



  • 4.  Re: query all jobs within a box job

    Broadcom Employee
    Posted Dec 19, 2017 04:11 AM

    PS: In case you want to get also the jobs inside the top level box, you can run 

     

    autorep -J ALL -L 1

     

    Thanks,

    Roya



  • 5.  Re: query all jobs within a box job

    Broadcom Employee
    Posted Dec 19, 2017 04:35 AM

    Hi Han,

     

    You can consult the following docops page for more information:

     

    https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/reference/ae-commands/monitor-and-report-on-workload/autorep-c… 

     

    -L print_level

    (Optional) Specifies the number of levels into the box job hierarchy about which to report. This value can be any number. For example, when you specify -L 2, the report contains data for the specified job (a box) and the top two levels of jobs in the box. To report on only the topmost level (that is, the box), specify -L 0

    Default: -L (report on all levels in the box) 

     

    Thanks,

    Roya