Autosys Job box kicking off without meeting its starting conditions









up vote
0
down vote

favorite












I am running into a problem while designing a solution using autosys. Looking for some inputs on this scenario:



I have three job Boxes viz. BoxA,BoxB and BoxC.



BoxA has two jobs inside it A1 and A2 respectively and I have configured the last job in this box with two exit codes as success codes 0 and 10 respectively.
Now depending upon the exit code of the job in this box, I want to trigger either BoxB( if exit code is 0 ) or BoxC( if exit code is 10 ).



Additional information for BoxB and BoxC:



BoxB has 5 jobs in it names B1,B2...B5 and this box will kick off when exit code of A2 will be 0.



BoxC has 7 jobs in it and this box will kick off if either A2 exits with code 10 OR B5 goes into success.



ISSUE description:
If A2 exits with code 10 then in that case the solution is working as expected amd BoxC gets kicked off.
However, if A2 exits with code 0 both BoxB and BoxC get kock off.



This is the starting condition of BoxC:
(e(A2)=10) or s(B5)



Please advise.










share|improve this question





















  • I am still looking for some inputs.
    – Harsh
    Nov 14 at 0:44














up vote
0
down vote

favorite












I am running into a problem while designing a solution using autosys. Looking for some inputs on this scenario:



I have three job Boxes viz. BoxA,BoxB and BoxC.



BoxA has two jobs inside it A1 and A2 respectively and I have configured the last job in this box with two exit codes as success codes 0 and 10 respectively.
Now depending upon the exit code of the job in this box, I want to trigger either BoxB( if exit code is 0 ) or BoxC( if exit code is 10 ).



Additional information for BoxB and BoxC:



BoxB has 5 jobs in it names B1,B2...B5 and this box will kick off when exit code of A2 will be 0.



BoxC has 7 jobs in it and this box will kick off if either A2 exits with code 10 OR B5 goes into success.



ISSUE description:
If A2 exits with code 10 then in that case the solution is working as expected amd BoxC gets kicked off.
However, if A2 exits with code 0 both BoxB and BoxC get kock off.



This is the starting condition of BoxC:
(e(A2)=10) or s(B5)



Please advise.










share|improve this question





















  • I am still looking for some inputs.
    – Harsh
    Nov 14 at 0:44












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am running into a problem while designing a solution using autosys. Looking for some inputs on this scenario:



I have three job Boxes viz. BoxA,BoxB and BoxC.



BoxA has two jobs inside it A1 and A2 respectively and I have configured the last job in this box with two exit codes as success codes 0 and 10 respectively.
Now depending upon the exit code of the job in this box, I want to trigger either BoxB( if exit code is 0 ) or BoxC( if exit code is 10 ).



Additional information for BoxB and BoxC:



BoxB has 5 jobs in it names B1,B2...B5 and this box will kick off when exit code of A2 will be 0.



BoxC has 7 jobs in it and this box will kick off if either A2 exits with code 10 OR B5 goes into success.



ISSUE description:
If A2 exits with code 10 then in that case the solution is working as expected amd BoxC gets kicked off.
However, if A2 exits with code 0 both BoxB and BoxC get kock off.



This is the starting condition of BoxC:
(e(A2)=10) or s(B5)



Please advise.










share|improve this question













I am running into a problem while designing a solution using autosys. Looking for some inputs on this scenario:



I have three job Boxes viz. BoxA,BoxB and BoxC.



BoxA has two jobs inside it A1 and A2 respectively and I have configured the last job in this box with two exit codes as success codes 0 and 10 respectively.
Now depending upon the exit code of the job in this box, I want to trigger either BoxB( if exit code is 0 ) or BoxC( if exit code is 10 ).



Additional information for BoxB and BoxC:



BoxB has 5 jobs in it names B1,B2...B5 and this box will kick off when exit code of A2 will be 0.



BoxC has 7 jobs in it and this box will kick off if either A2 exits with code 10 OR B5 goes into success.



ISSUE description:
If A2 exits with code 10 then in that case the solution is working as expected amd BoxC gets kicked off.
However, if A2 exits with code 0 both BoxB and BoxC get kock off.



This is the starting condition of BoxC:
(e(A2)=10) or s(B5)



Please advise.







autosys






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 2:19









Harsh

14




14











  • I am still looking for some inputs.
    – Harsh
    Nov 14 at 0:44
















  • I am still looking for some inputs.
    – Harsh
    Nov 14 at 0:44















I am still looking for some inputs.
– Harsh
Nov 14 at 0:44




I am still looking for some inputs.
– Harsh
Nov 14 at 0:44












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Harsh,



As stated, jobs are A1 A2 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 C6 C7.
All jobs are under one box alone.



CASE I: Assuming the box start at 01:00 hours and job A2’s exit code is 0



insert_job: BOX_NAME 
job_type: box
owner: ##
max_run_alarm: 0
alarm_if_fail: n
date_conditions: y
start_times: "01:00"
run_calendar: ##
send_notification: n
box_success: s(C7)


A1 Success



A2 Success with E=0



Job B1 defined as



insert_job: JOB_B1
condition: e(A2)=0


B1 Success



B2 .. B5 Success



Job C1 defined as



insert_job: JOB_C1 
condition: e(A2)=10 | s(B5)


C1 .. C7 Success



box completed !!



CASE II: job A2’s exit code is 10



A1 Success



A2 Success with E=10



condition: e(A2)=0 #jobs remains activated



B1 .. B5 Activated



condition: e(A2)=10 | s(B5) # OR condition is fulfilled C1 starts



C1 .. C7 Success



B1 .. B5 jobs remain activated but box completes upon success of C7.



box completed !!



Hope this helps.



Let me know if i am clear enough.



My answer is considering only the happy cases and not into account of the extreme cases.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235486%2fautosys-job-box-kicking-off-without-meeting-its-starting-conditions%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Harsh,



    As stated, jobs are A1 A2 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 C6 C7.
    All jobs are under one box alone.



    CASE I: Assuming the box start at 01:00 hours and job A2’s exit code is 0



    insert_job: BOX_NAME 
    job_type: box
    owner: ##
    max_run_alarm: 0
    alarm_if_fail: n
    date_conditions: y
    start_times: "01:00"
    run_calendar: ##
    send_notification: n
    box_success: s(C7)


    A1 Success



    A2 Success with E=0



    Job B1 defined as



    insert_job: JOB_B1
    condition: e(A2)=0


    B1 Success



    B2 .. B5 Success



    Job C1 defined as



    insert_job: JOB_C1 
    condition: e(A2)=10 | s(B5)


    C1 .. C7 Success



    box completed !!



    CASE II: job A2’s exit code is 10



    A1 Success



    A2 Success with E=10



    condition: e(A2)=0 #jobs remains activated



    B1 .. B5 Activated



    condition: e(A2)=10 | s(B5) # OR condition is fulfilled C1 starts



    C1 .. C7 Success



    B1 .. B5 jobs remain activated but box completes upon success of C7.



    box completed !!



    Hope this helps.



    Let me know if i am clear enough.



    My answer is considering only the happy cases and not into account of the extreme cases.






    share|improve this answer


























      up vote
      0
      down vote













      Harsh,



      As stated, jobs are A1 A2 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 C6 C7.
      All jobs are under one box alone.



      CASE I: Assuming the box start at 01:00 hours and job A2’s exit code is 0



      insert_job: BOX_NAME 
      job_type: box
      owner: ##
      max_run_alarm: 0
      alarm_if_fail: n
      date_conditions: y
      start_times: "01:00"
      run_calendar: ##
      send_notification: n
      box_success: s(C7)


      A1 Success



      A2 Success with E=0



      Job B1 defined as



      insert_job: JOB_B1
      condition: e(A2)=0


      B1 Success



      B2 .. B5 Success



      Job C1 defined as



      insert_job: JOB_C1 
      condition: e(A2)=10 | s(B5)


      C1 .. C7 Success



      box completed !!



      CASE II: job A2’s exit code is 10



      A1 Success



      A2 Success with E=10



      condition: e(A2)=0 #jobs remains activated



      B1 .. B5 Activated



      condition: e(A2)=10 | s(B5) # OR condition is fulfilled C1 starts



      C1 .. C7 Success



      B1 .. B5 jobs remain activated but box completes upon success of C7.



      box completed !!



      Hope this helps.



      Let me know if i am clear enough.



      My answer is considering only the happy cases and not into account of the extreme cases.






      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        Harsh,



        As stated, jobs are A1 A2 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 C6 C7.
        All jobs are under one box alone.



        CASE I: Assuming the box start at 01:00 hours and job A2’s exit code is 0



        insert_job: BOX_NAME 
        job_type: box
        owner: ##
        max_run_alarm: 0
        alarm_if_fail: n
        date_conditions: y
        start_times: "01:00"
        run_calendar: ##
        send_notification: n
        box_success: s(C7)


        A1 Success



        A2 Success with E=0



        Job B1 defined as



        insert_job: JOB_B1
        condition: e(A2)=0


        B1 Success



        B2 .. B5 Success



        Job C1 defined as



        insert_job: JOB_C1 
        condition: e(A2)=10 | s(B5)


        C1 .. C7 Success



        box completed !!



        CASE II: job A2’s exit code is 10



        A1 Success



        A2 Success with E=10



        condition: e(A2)=0 #jobs remains activated



        B1 .. B5 Activated



        condition: e(A2)=10 | s(B5) # OR condition is fulfilled C1 starts



        C1 .. C7 Success



        B1 .. B5 jobs remain activated but box completes upon success of C7.



        box completed !!



        Hope this helps.



        Let me know if i am clear enough.



        My answer is considering only the happy cases and not into account of the extreme cases.






        share|improve this answer














        Harsh,



        As stated, jobs are A1 A2 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 C6 C7.
        All jobs are under one box alone.



        CASE I: Assuming the box start at 01:00 hours and job A2’s exit code is 0



        insert_job: BOX_NAME 
        job_type: box
        owner: ##
        max_run_alarm: 0
        alarm_if_fail: n
        date_conditions: y
        start_times: "01:00"
        run_calendar: ##
        send_notification: n
        box_success: s(C7)


        A1 Success



        A2 Success with E=0



        Job B1 defined as



        insert_job: JOB_B1
        condition: e(A2)=0


        B1 Success



        B2 .. B5 Success



        Job C1 defined as



        insert_job: JOB_C1 
        condition: e(A2)=10 | s(B5)


        C1 .. C7 Success



        box completed !!



        CASE II: job A2’s exit code is 10



        A1 Success



        A2 Success with E=10



        condition: e(A2)=0 #jobs remains activated



        B1 .. B5 Activated



        condition: e(A2)=10 | s(B5) # OR condition is fulfilled C1 starts



        C1 .. C7 Success



        B1 .. B5 jobs remain activated but box completes upon success of C7.



        box completed !!



        Hope this helps.



        Let me know if i am clear enough.



        My answer is considering only the happy cases and not into account of the extreme cases.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 16 at 20:35

























        answered Nov 16 at 19:37









        Piyush

        186




        186



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235486%2fautosys-job-box-kicking-off-without-meeting-its-starting-conditions%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Darth Vader #20

            How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

            Ondo