View previous topic :: View next topic |
Author |
Message |
kishorebodipati Beginner
Joined: 08 Apr 2004 Posts: 15 Topics: 9 Location: Chennai
|
Posted: Mon Aug 30, 2004 4:54 am Post subject: delay in cobol |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
kishorebodipati Beginner
Joined: 08 Apr 2004 Posts: 15 Topics: 9 Location: Chennai
|
Posted: Mon Aug 30, 2004 5:51 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|