View previous topic :: View next topic |
Author |
Message |
deepa12 Beginner
Joined: 05 Apr 2005 Posts: 131 Topics: 64 Location: chennai
|
Posted: Fri Sep 12, 2014 10:30 am Post subject: Starting a cics transaction every year |
|
|
There is a requirement that at the start of every year i.e
date 01-01-ccyy and 01:01:01 being hhmmss we have to update a particular file
I would like to know how to do this
Normally the online system comes down and then comes up every day. So we thought of including it as part of the batch job Some times the online will not come down
So we have to look for someother option. _________________ deepa |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
deepa12 Beginner
Joined: 05 Apr 2005 Posts: 131 Topics: 64 Location: chennai
|
Posted: Tue Sep 23, 2014 2:08 am Post subject: |
|
|
Sorry for not responding to this until now. Thanks a lot for your reply
I need to do the following:
no matter at what time a transaction is getting i.e it may be invoked between 00:00:00 to 23:59:59, I need to determine its next time of invocation & set it to self start
when it is invoked at 00:00:00 on 19/09/14 suppose i give the following command
START TRANS(XXXX) AT TIME(240000) reqid(xxxstr1)
will it set to be triggered for 20/09/14 eary morning
when it is invoked at 23:59:59 on 19/09/14 suppose i give the following command
START TRANS(XXXX) AT TIME(240000) reqid(xxxstr1)
will it set to be triggered for 20/09/14 eary morning i.e the next second
I think only if i specify
START TRANS(XXXX) AT TIME(000000) reqid(xxxstr1) that i need to check current time
say current time is 0 - 6 am in the morning, then that i have to add 24 hrs so that it would be scheduled for next day
Pls let me know if these understandings are correct _________________ deepa |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
|
Posted: Tue Sep 23, 2014 10:54 am Post subject: |
|
|
deepa12 wrote: | say current time is 0 - 6 am in the morning, then that i have to add 24 hrs so that it would be scheduled for next day
Pls let me know if these understandings are correct |
deepa12,
I am not sure how hard it is to just look up the syntax of START TRANSID which has 2 other additional parameters AFTER and INTERVAL which lets you specify the time in hours , minutes and seconds.
Check this link which explains about CICS START TRANSID in detail. _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|