Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Performance Consideration - Static & Dynamic Call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Performance Consideration - Static & Dynamic Call
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: 24

PostPosted: Wed Jul 13, 2005 11:46 pm    Post subject: Re:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts BC, BCR, BRC, BRCL performance steve-myers PL/I & Assembler 0 Fri Dec 23, 2016 7:44 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What are the way we can improve CPU p... Gunapala CN DB2 10 Mon Oct 24, 2016 2:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us