ESP Workload Automation

Expand all | Collapse all

CA7 scheduling/triggering a weird situation

  • 1.  CA7 scheduling/triggering a weird situation

    Posted 08-03-2015 12:37 PM

    I just got this from the programmers.   Any ideas on the best way to schedule?   

     

    we get a file from the fed that will run.   I will trigger QAPPDAMJ off of that job.  It will only run 4 times a day.

     

    QAPPDAMJ ---- this JOB will run 4 times a day

                  
    After the 4th  GOOD EOJ of QAPPDAMJ, please execute:
    QAPPDAMC

     

    thanks

    renate

     

     



  • 2.  Re: CA7 scheduling/triggering a weird situation

    Posted 08-03-2015 12:55 PM

    The only thing I can think of would require writing a program that does LRLOG,JOB=QAPPDAMJ that is triggered by QAPPDAMJ and in that program you can 'look' to see how many times it has executed and send a special return code--having an ARFSET that is executing a DEMAND of QAPPDAMC if the the return code says to.  Question here is how many times will the data set be created?  Do you know?  What happens if a 6th or 7th or 8th run of the job happens?



  • 3.  Re: CA7 scheduling/triggering a weird situation

    Posted 08-03-2015 01:02 PM

    Of course, you should never use ARF on a good completion so you would also have to set the return code as failing on the DB.1 and then force complete.



  • 4.  Re: CA7 scheduling/triggering a weird situation

    Posted 08-03-2015 04:27 PM

    My solution was to schedule a job at a certain time when the last job ran.   Should work but isn't elegant.

     

    renate