On Thu, 29 Nov 2007 02:21:37 +0000 Raja Easwaramoorthy <[EMAIL PROTECTED]>
wrote:

:>I found that CPU time varies when I change the concatenation order of 
loadlibs in STEPLIB. For example, when I had CEE.SCREEN loadlib in the first; 
before application programs loadlib, the CPU took only 0.6 seconds but when I 
had application loadlib in the first; before CEE.SCREEN, the CPU took 1.2 
seconds.
 
:>Run 1 - In this case CPU took only 0.6 seconds to execute the job
:>-----
:>//STEPLIB  DD DSN=CEE.SCREEN,DISP=SHR
:>//             DD  DSN=S1222.SYS.LOADLIB,DISP=SHR
 
 
:>Run 2 - In this case CPU took 1.2 seconds to execute the job
:>-----
:>//STEPLIB  DD DSN=S1222.SYS.LOADLIB,DISP=SHR
:>//             DD  DSN=CEE.SCREEN,DISP=SHR
 
:>Does anyone know why there is a difference in CPU time when I change the 
concatenation order of loadlibs in STEPLIB? 

Because the files are accessed in order. If you wish to load module "ABC" it
first looks in the first dataset, then it looks in the second dataset, etc.
You should notice additional I/O as well.

In your case, you would be loading more modules from SCREEN thus the search
time in LOADLIB is mostly wasted. And the bigger LOADLIB is and the number of
member names less than the loaded member, the more time is wasted.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to