Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
Why don't you post a new topic for a new request or try to read the good link that Mr. Kevin give to you?
I think that all you need is within the flashlight(or torch) at the top of the link from Kevin...
Use the JOBLIB DD statement to:
>> Cate a private library.
Identify private library that the system is to search for the program named in each EXEC statement PGM parameter in the job. Only if the system does not find the program in the private library, does it search the system libraries.
A private library is a partitioned data set or partitioned data set extended on a direct access device. Each member is an executable, user-written program.
Format: //JOBLIB DD DISP=SHR,DSN=PP.DD
>>JCLLIB is used only on MVX/ESA version 4 JES2 systems or higher
>>only one JCLLIB stat os permitted in a job, and it must appear after the JOB statement and before the first EXEC statement in the JOB.
Format://PROCS JCLLIB ORDER=(TEST1.SS,TEST2.SSS)
>> it can be placed anywhere in the step's JCL
>> more than one program lib can be concatenated after the first one on the steplib
>> if STEPLIB is specified with JOBLIB, then STEPLIB takes precedence.
Format: //STEPLIB DD DISP=SHR,DSN=..
>>it is to identify the VSAM catlog to search first .
>>More than one catalog can be concat after the first one on a JOBCAT
>>if u use a JOBLIB DD stmt , it goes in front of the JOBCAT