Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4605458
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:26:05+00:00 2026-05-22T00:26:05+00:00

I am new to autosys.. does anyone know how to perform positive and negative

  • 0

I am new to autosys.. does anyone know how to perform positive and negative test on particluar job

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T00:26:06+00:00Added an answer on May 22, 2026 at 12:26 am

    Autosys seems to be painfully limited. You can create a condition in JOB2 that depends on the success of JOB1 e.g. SUCCESS(JOB1). But there seems to be no support for a condition that is the inverse of SUCCESS. Autosys provides a RUNNING and a NOTRUNNING condition, but for some reason they unfortunately omitted to include a NOTSUCCESS.

    The best workaround I’ve come up with so far is to use the following JIL configuration:

    insert_job: 0AM-7AM_BOX
    job_type: b
    start_times: "00:00"
    description: "Succeeds if JOB1 succeeds, TERMINATED if JOB1 does not succeed"
    term_run_time: 419
    
    insert_job: CHECK_THE_CONDITION
    job_type: c
    box_name: 0AM-7AM_BOX
    command: date
    condition: success(JOB1)
    description: "Succeeds if JOB1 succeeds"
    
    insert_job: ACT_ON_THE_CONDITION
    job_type: c
    command: [put the command you want to execute here]
    condition: SUCCESS(CHECK_THE_CONDITION)
    description: "Run the run between midnight and 7am if the condition is true"
    

    So, if JOB1 enters the state “SUCCESS” between midnight and 7am, then ACT_ON_THE_CONDITION will immediately run. Since the command is just a dummy call to “date” this should run immediately and also become “SUCCESS” and therefore the 0AM-7AM_BOX box will also become “SUCCESS”.

    The other possibility is that JOB3 does not enter state “SUCCESS” before 7am. In this case, the “term_run_time” setting will cause the box to enter the state “TERMINATED”.

    Summing up,

    1. If JOB1 is SUCCESS, 0AM-7AM_BOX -> SUCCESS
    2. If JOB1 is anything except SUCCESS, 0AM-7AM_BOX -> TERMINATED

    This is useful because you can then set up dependent jobs that test the success condition or the terminated condition (since TERMINATED is a valid test you can put in a condition).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to implement a tree representation of Autosys job schedules at
New to SQLite so I don't know what I'm doing wrong. I'm just getting
given below is the url configured as an autosys job .This calls the servlet
I am new in my job and one of my responsibilities is to maintain
New here and have a question for anyone experienced with HTML5 video and/or the
new on ruby and using windows xp and rails 3, i want to send
New to PHP and MySQL, have heard amazing things about this website from Leo
new to c#. I'm trying to make a simple system where I can search
New to Regex. I want to validate to this format: Any character allowed, except
new here and new to jQuery. I've searched for an answer to my question/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.