You're welcome.

While RTMFing, you must have missed Note 1. of the T= parameter of the $TA 
command.

Mind the small window of mis-scheduling: if you issue the command between 00:00 
and 00:05, the job will not run today at all.

Kees.

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Sean Gleann
> Sent: 06 November, 2018 10:32
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Anyone using cron?
> 
> Kees
> THANK YOU!
> Such a simple solution & one that I had not spotted despite all RTFMing
> I've done.
> When I do a '£T A,ALL' I can see the '24.05' & '24.10' time stamps, but
> I
> never made the connection - just thought it was a weird way of
> specifying
> time in the hour after midnight
> 
> Sean
> 
> On Tue, 6 Nov 2018 at 09:23, Vernooij, Kees (ITOPT1) - KLM <
> kees.verno...@klm.com> wrote:
> 
> > The problem is that when you issue the automatic command with a time
> in
> > the past, it will be issued immediately.
> > You can avoid this by scheduling it for the next day with T=24.05. T=
> is
> > calculated from the last midnight, so 24.05 means 00:05 tomorrow
> morning.
> >
> > Kees.
> >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List [mailto:IBM-
> m...@listserv.ua.edu] On
> > > Behalf Of Sean Gleann
> > > Sent: 06 November, 2018 9:49
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Anyone using cron?
> > >
> > > Hello all
> > >
> > > I have a need to run a couple of batch jobstreams at the same time
> every
> > > day.
> > > The streams are fully developed and they run happily at the required
> > > time(s), under control of a couple of JES 'TA' automatic commands:
> > > £ T A0001,I=86400,T=00.05,'£VS,''S JOB,N=DLYWORK1'''
> > > £ T A0002,I=86400,T=00.10,'£VS,''S JOB,N=DLYWORK2'''
> > > ('JOB' is an IEBGENER that copies files to the internal reader)
> > > The trouble with that solution is that TA commands are obeyed both
> at
> > > the
> > > prescribed times AND at IPL (or JES start?) time.
> > > Given that I'm currently working on commissioning a new production
> > > system, IPLs are still fairly frequent, and so the timed jobstreams
> keep
> > > resulting in 'unexpected' results.
> > >
> > > There isn't any cash in the kitty for something like OPC (now
> Tivoli?)
> > > or
> > > CA-7, and I've been unable to track down any 'freeware' batch job
> > > scheduler
> > > (though I'd be happy to be shown the error of my ways on that), so I
> > > decided to try using cron instead.
> > >
> > > Is anybody using cron in this way? Is there anything I should beware
> of?
> > >
> > > Sean
> > >
> > >  .
> > >
> > > --------------------------------------------------------------------
> --
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-
> MAIN
> > ********************************************************
> > For information, services and offers, please visit our web site:
> > http://www.klm.com. This e-mail and any attachment may contain
> > confidential and privileged material intended for the addressee only.
> If
> > you are not the addressee, you are notified that no part of the e-mail
> or
> > any attachment may be disclosed, copied or distributed, and that any
> other
> > action related to this e-mail or attachment is strictly prohibited,
> and may
> > be unlawful. If you have received this e-mail by error, please notify
> the
> > sender immediately by return e-mail, and delete this message.
> >
> > Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or
> its
> > employees shall not be liable for the incorrect or incomplete
> transmission
> > of this e-mail or any attachments, nor responsible for any delay in
> receipt.
> > Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
> Dutch
> > Airlines) is registered in Amstelveen, The Netherlands, with
> registered
> > number 33014286
> > ********************************************************
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to