ESP Workload Automation

 View Only
  • 1.  CA-7 triggering wait question

    Posted Nov 08, 2013 06:19 PM

    My boss just asked me a question  (yea..  5:15 on a friday night of course  *g).  Good thing I don't have to schedule it tonight.  

    He wants me to have a job trigger another job but wait 20 min.  I know there is the subtime parm but this job is coming from outside and we don't know exactly when it might run.  Any ideas?

     

    renate



  • 2.  RE: [Workload Automation - Mainframe] CA-7 triggering wait question
    Best Answer

    Posted Nov 08, 2013 08:29 PM
    We would insert a WAIT step as the first step of the JCL, something like this: //WAIT0A EXEC PGM=SUBTIME,PARM='D T|20’

    Teresa Gay
    Senior Scheduling Analyst
    ETG/RIM Operations
    Fiserv
    Office: 678-375-4442
    Mobile: 706-570-9023
    Fax: 678-375-2790
    www.fiserv.com<http://www.fiserv.com/>


    From: CA Workload Automation Mainframe Global User CommunityMessage Boards [mailto:CommunityAdmin@communities-mail.ca.com]
    Sent: Friday, November 08, 2013 6:19 PM
    To: mb_message.2271104.104339408@myca-email.ca.com
    Subject: [Workload Automation - Mainframe] CA-7 triggering wait question


    My boss just asked me a question (yea.. 5:15 on a friday night of course *g).  Good thing I don't have to schedule it tonight.

    He wants me to have a job trigger another job but wait 20 min. I know there is the subtime parm but this job is coming from outside and we don't know exactly when it might run. Any ideas?



    renate

    --
    Posted by:ca7-renate
    CA Communities Message Boards
    104341948
    mb_message.2271104.104339408@myca-email.ca.com<mailto:mb_message.2271104.104339408@myca-email.ca.com>


  • 3.  RE: CA-7 triggering wait question

    Posted Nov 20, 2013 09:46 AM

    I agree the Wait Step would be your best bet. 



  • 4.  Re: CA-7 triggering wait question

    Posted Sep 12, 2014 03:06 PM

    Or, depending on requirements, a job that contains the single Wait step.



  • 5.  Re: CA-7 triggering wait question

    Posted Dec 19, 2014 04:25 AM

    You  could add a BTERM step to demand the second job

     

    DEMAND,job=xxxxxxxx,time=+20

     

    The advantage to this is that your first job doesn't sit in the system hogging an initiator for 20 minutes.



  • 6.  Re: CA-7 triggering wait question

    Posted Jan 23, 2015 10:25 AM

    We use ARF to do that. The way we have it set, the job runs, but once it completes, CA7 will wait 20 minutes to mark it complete.

     


    Arf screenshot.png