Posted: Tue Jan 04, 2005 1:37 am Post subject: PROCLIB, JCLLIB AND STEPLIB
Hello,
Can anyone please let me know the difference between PROCLIB, JCLLIB.
I am asking this because today I coded a PROC and tried to invoke the PROC thru a JCL with a JCLLIB statement in it and it worked fine. But, when I tried to invoke the same PROC with a PROCLIB statement in my JCL which specifies the destination where the proc resides I am getting a JCL internal error.
Is it that PROCLIB could be used only with procedures in system libraries and not with procedures in user defined libraries.
Is it possible to use STEPLIB with procedures under any circumstances.
Requests a JES2 procedure library by its ddname, as defined in the JES2 procedure used to initialize JES2. Typically, JES2 procedure library ddnames are in the format PROCnn, where nn is either 00 or 1 or 2 decimal numbers from 1 through 99. You can, however, use any valid ddname as long as the name matches the ddname in the JES2 procedure. The system retrieves called cataloged procedures from the requested JES2 procedure library.
If you omit the PROCLIB parameter, or the ddname cannot be found in the procedure used to start JES2, JES2 uses the procedure library specified on the PROC=nn parameter on one of the following JES2 initialization statements:
JOBCLASS(v) for each job class
STCCLASS for all started tasks
TSUCLASS for all time-sharing tasks
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