AutoSys Workload Automation

Expand all | Collapse all

Is there a way to autorep for all jobs under a certain machine or owner?

Jump to Best Answer
  • 1.  Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 09:39 AM

    Usually, I use autorep to search for all jobs with a specific name, I want to find all jobs that run under a certain machine name or owner. 




  • 2.  Re: Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 09:40 AM

    We are using autosys 11.3.6 if it matters.



  • 3.  Re: Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 09:42 AM

    WCC can get you jobs based on machine/owners using filters etc.



  • 4.  Re: Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 09:53 AM

    The autorep does not support running reports based on owner or machine. It would be a nice to have and I believe it has been suggested multiple times by various users over the years. I think it was never pursued because the "nice to have" vs. "need to have" didn't weigh out in its favor. I would still love to see that feature. You can use WCC Quickedit for that, but being able to use the command line would be extremely helpful in many situations.



  • 5.  Re: Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 10:04 AM

    +1 for Lisa's comment, besides not every Co has WCC, even the one's with 11.3.5



  • 6.  Re: Is there a way to autorep for all jobs under a certain machine or owner?
    Best Answer

    Posted 09-15-2016 09:54 AM

    See this thread for a way to retrieve jobs by machine via command line using python.



  • 7.  Re: Is there a way to autorep for all jobs under a certain machine or owner?

    Posted 09-15-2016 10:05 AM

    here's the problem:

    i think they ran out of letters in the alphabet

    WHERE: -J JobName
    -I ApplicationName
    -B GroupName
    -o OverRideNumber
    -X ExternalInstanceName
    -Y UserDefinedJobType
    -z GlobalBlobName
    -G GlobalName
    -M MachineName
    -C ConnectionProfileName
    -V ResourceName
    -d Generates a detail report
    -s Generates a summary report
    -q Generates a query report (Jil format)
    -p Generates an agent version, plug-in and advanced integrations report
    -w Reports names using the long form (wide)
    -n Reports truncated names (narrow)
    -t Includes the timezone in the report
    -R RunNumber Generates the report for the job run
    specified in run_num
    -L PrintLevel Generated Box Job hierarchy report will be
    limited to level specified
    -f BlobDownloadDirectory Blob data download location
    -a Download blob data to file as ASCII text
    -usr AuthUser User to authenticate with external security
    -pw AuthPassword Plain text password for user authentication
    -pwx AuthEncryptedPassword Encrypted password for user authentication
    -saml AuthArtifact Security Assertion Markup Language (SAML) artifact
    for single sign-on authentication
    -x Returns version information
    -? Help

    NOTE: 1. -J OR -M OR -G OR -B OR -I OR -X OR -Y OR -V are required parameters.
    2. If OverRideNumber = 0, it will display override number currently in effect.
    3. If both [-B GroupName] and [-I ApplicationName] attributes
    are specified, this is treated as an AND condition.
    4. [-J JobName] and [-B GroupName or -I ApplicationName][-X]
    are mutually exclusive.
    5. The [-a] and/or [-f] attributes are valid with the attribute
    pair [-J JobName] and [-q] or with the [-z GlobalBlobName] attribute