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 

delay in cobol

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


Joined: 08 Apr 2004
Posts: 15
Topics: 9
Location: Chennai

PostPosted: Mon Aug 30, 2004 4:54 am    Post subject: delay in cobol Reply with quote

Hi all,

I have one request.

>> we have 1 cics program which takes the input data and writes into a sequential file. At the end of the day. We have batch job which reads the file and inserts the records into DB2 table.

Problem is we are getting database time out error to inserting the data after writing some records.

We need to keep 10 seconds sleep mode once we receive this time out error. How can we do it in COBOL II.

Is there any reserve word like DELAY in CICS?

please help me in this regard.


Thanks & Regards,

Kishore.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Aug 30, 2004 5:32 am    Post subject: Reply with quote

Kishore,

Check this link for a detailed explanation of DELAY command in cics

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHJAP4C/1.58?DT=20030108162734

Hope this helps...

Cheers

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


Joined: 08 Apr 2004
Posts: 15
Topics: 9
Location: Chennai

PostPosted: Mon Aug 30, 2004 5:51 am    Post subject: Reply with quote

Hi Kolusu,

Sorry for not giving proper inputs.


I want to delay my process in batch program. In COBOL - DB2 program i have to keep 10 seconds in sleep mode ...

Is it possible in COBOL - DB2 ?

Thanks & Regards,
Kishore Bodipati
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Aug 30, 2004 7:15 am    Post subject: Reply with quote

Kishore,

Please search before posting. This topic has been discussed earlier. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2008&highlight=delay

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
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