| IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc... Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
sourabh jain
Joined: 29 Feb 2008
Posts: 5
Location: Pune
|
| Posted: Fri Mar 28, 2008 3:09 pm Post subject: COMMIT TASK statement taking lot much time |
|
|
Hi,
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 :x ).
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 |
|
| Back to top |
|
dick scherrer
Joined: 23 Nov 2006
Posts: 7518
Location: 221 B Baker St
|
| Posted: Sat Apr 05, 2008 3:03 am Post subject: |
|
|
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. |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|