MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Starting a cics transaction every year

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
deepa12
Beginner


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Fri Sep 12, 2014 10:30 am    Post subject: Starting a cics transaction every year Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Fri Sep 12, 2014 3:40 pm    Post subject: Reply with quote

deepa12,

Schedule a batch job which has the contents shown in method 1 or 2 in the link below using shop scheduler to run the job on desired date and time

http://www.mvsforums.com/helpboards/viewtopic.php?p=1420#1420
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
deepa12
Beginner


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Tue Sep 23, 2014 2:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue Sep 23, 2014 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group