View previous topic :: View next topic
|
Author |
Message |
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
Here I am looking to reduce the CPU time. There is a called module B that is called across many projects and mine is one such project. So I have compiled it dynamically , but this B is called atleast around 50,000 times every time my Job runs. Now I can compile it Statically to reduce the Run time, but if I do so then every time Module B is compiled then all the calling modules should be recompiled. Is there any workaround for this condition. I understand that this is against the very motive of Static and Dynamic concept. But since my Job runs for a really long time ,I want to reduce this run time some how. The called Module B has COBOL and DB2 and my Job has only COBOL. |
|
Back to top |
|
|
jayesh_g
New User
Joined: 03 Mar 2004 Posts: 23
|
|
|
|
When you call your module B statically, how much CPU time are you reducing?
Have you explored other tuning options like those of SQL queries?
-Jayesh. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi,
If I read you correctly you're saying that all the callers of pgm B must be recompiled if YOU statically call it.
In fact, only YOU have to recomile YOUR pgm (but only to take advantage of the code changes). Everyone else will take advantage of these changes automatically the next time they execute B. |
|
Back to top |
|
|
|