IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Performance Consideration - Static & Dynamic Call


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Wed Jul 13, 2005 8:14 pm
Reply with quote

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
View user's profile Send private message
jayesh_g

New User


Joined: 03 Mar 2004
Posts: 23

PostPosted: Wed Jul 13, 2005 11:46 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jul 17, 2005 3:32 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top