I have a DC BATCH COBOL code. There is a 'COMMIT TASK' statement in this program, when the control reaches to this statement (COMMIT TASK) takes lot much time to execute (more than 20 secs ).
This statement is used at other places too in the code, but it delays only at one place .
Can any one please give me a hint of the problem? Under what circumstances is this delay possible?
The program is using IDMS as backend. (No problem with IDMS , its working fine here)..
Many thanks in anticipation1
Cheers!!
Sourabh Jain
Moved: Sat Apr 05, 2008 3:00 am by dick scherrer From Mainframe COBOL to IDMS/ADSO
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8733 Location: 221 B Baker St
Hello,
Maybe changing forum sections will get some activity. . .
Quote:
No problem with IDMS , its working fine here
You might want to put a display of the wall time immediatly before and immediately after the COMMIT TASK. I suspect that most or all of the time is when the request is made to DB.
If the time is being spent else where, moving the displays may help identify whee the time is beng spent.