MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What will be the impact of adding unreferenced copybooks?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
sushil
Beginner


Joined: 18 Apr 2005
Posts: 21
Topics: 11

PostPosted: Fri Jun 24, 2005 5:39 am    Post subject: What will be the impact of adding unreferenced copybooks? Reply with quote

If there are two programs say A and B equivalent, and if I added 5 copy copybook ( redundant) statements, will it impact the load module size...??
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jun 24, 2005 5:47 am    Post subject: Reply with quote

sushil,

Please search before posting. check this link

http://mvsforums.com/helpboards/viewtopic.php?t=197&highlight=optimize+optimize

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sushil
Beginner


Joined: 18 Apr 2005
Posts: 21
Topics: 11

PostPosted: Fri Jun 24, 2005 5:52 am    Post subject: Reply with quote

Kolusu,

Thanks for such a quick response.
from next time onward I will search b4 posting... Laughing


Thanks
_________________
"Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity."
Back to top
View user's profile Send private message
sushil
Beginner


Joined: 18 Apr 2005
Posts: 21
Topics: 11

PostPosted: Fri Jun 24, 2005 6:04 am    Post subject: Reply with quote

Kolusu,

As per the reply it seems that on using OPTIMIZE(FULL) unrefrenced variables will be shred off. but what if optimize is not used. Will then load module also have unrefrenced variables? In other words, will the effective size be increased?

TIA
_________________
"Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity."
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jun 24, 2005 6:05 am    Post subject: Reply with quote

Quote:

Will then load module also have unrefrenced variables? In other words, will the effective size be increased?


Sushil,

Yes the size will be increased as well as your performance also might degrade

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anettis
Beginner


Joined: 08 Nov 2004
Posts: 15
Topics: 5

PostPosted: Tue Jul 19, 2005 4:22 pm    Post subject: Reply with quote

It also depends where the copybooks live. If they are in LINKAGE then they won't add to the storage requirements of the program. However if they are in WORKING STORAGE then they certainly will have an impact on storage requirements.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group