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 

PROCLIB, JCLLIB AND STEPLIB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Tue Jan 04, 2005 1:37 am    Post subject: PROCLIB, JCLLIB AND STEPLIB Reply with quote

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.

Your advise is greatly appreciated.

Thanks,
kousik
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Jan 04, 2005 1:48 am    Post subject: Reply with quote

Kousik,

Check this link for a detail explanation of STEPLIB DD Statement

JCLLIB Statement


PROCLIB=ddname

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

Hope this helps...

Cheers

kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

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


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Tue Jan 04, 2005 1:53 am    Post subject: Reply with quote

Hi kolusu,

I am looking at the links and the explanation u gave me.

Thanks a lot,

kousik
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 -> Job Control Language(JCL) 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