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 

Optimal Characteristics of load Libraries

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
Han Solo
Beginner


Joined: 20 Jan 2005
Posts: 2
Topics: 1
Location: Spain

PostPosted: Mon Oct 03, 2005 5:09 am    Post subject: Optimal Characteristics of load Libraries Reply with quote

Is there some recomendation about the characteristics that must have the libraries with executable modules ( from a perfromance point of view)?.

If exist, Where can i find references to this question ?

Thank you in Advance.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Oct 03, 2005 8:06 am    Post subject: Reply with quote

Han Solo,

A typical Load library will have the following attributes. Allocate the PDS with approriate space parameters.

Code:

Organization . . .  : PO
Record format . . . : U
Record length . . . : 0
Block size . . . .  : 19069
Data set name type  : PDS


The load library may be in the system linklist, or it may be in library lookaside (LLA), or it may be in virtual lookaside facility (VLF). It may additionally be APF (authorized program facility) authorized.

A load library in LLA has its directory stored in memory, for faster access. If your program is written to a library in LLA and you subsequently update the program, you must ensure that the in-memory copy of the directory is refreshed from the disk copy, otherwise the system will not be able to successfully load and run your program. LLA can identify the most frequently used modules in a library and store them in VLF (basically a set of data spaces), to speed up program fetch and load times. A program generation that uses the link-edit option AC=1, and writes the module to an APF authorized library, results in what is called an APF authorized program. This program may run in a system storage protection key or in Supervisor state.

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
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Oct 03, 2005 8:11 am    Post subject: Reply with quote

Wow....Never ever thought that there would be so many options with a load library... Crying or Very sad

Thanks so much Kolusu,

Regards,
Phantom
Back to top
View user's profile Send private message
Han Solo
Beginner


Joined: 20 Jan 2005
Posts: 2
Topics: 1
Location: Spain

PostPosted: Mon Oct 03, 2005 11:01 am    Post subject: Reply with quote

Ok, I'll describe the entire problem that makes myself ask such a question. We have discovered that we have equivalent libraries with load modules with different BLKSIZE
(more precise; library A with BLKSIZE 32760,library B with BLKSIZE 28000). We don
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Oct 03, 2005 2:08 pm    Post subject: Reply with quote

Best block size for load modules is 32760 in all cases. This is not true of any other type of library. I don't recall why that is true, but it has been IBM's recommendation for several years. This is the one case where 1/2 track blocking is not the best way to go. I suspect that program load functions are able to take advantage of some of the hardware idiosyncracies to allow very fast access (chained CCWs or something maybe). And the loader/binder can write data to the tracks so space is not wasted.

Also, for security reasons, you can't mix APF and non-APF libraries in a concatenation and use the authorization. Any one non-APF library in a concatenation makes the whole concatenation unauthorized.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics 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