procs

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
santthosh
Member
Posts: 1
Joined: Wed Jun 15, 2011 3:19 pm

procs

Post by santthosh » Thu Jun 16, 2011 8:36 am

hi can i know how to call different procs with different proclibs with in the same job

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Jun 16, 2011 10:12 am

hi can i know how to call
not sure what you mean by the above,
but,
you can concatenate proc libraries in the JCLLIB statement.

see following post for links to manuals.


edited by dbz: earlier stated PROCLIB which is incorrect.
Last edited by dbzTHEdinosauer on Mon Jun 20, 2011 3:28 pm, edited 1 time in total.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

User avatar
Gurugars
Active Member
Posts: 107
Joined: Sat Oct 23, 2010 2:17 pm
Location: Chennai,India.

Post by Gurugars » Mon Jun 20, 2011 3:13 pm

Hi santhosh,

Yes you can call the PROCS in different PROCLIBS.

As Dick mentioned you can concatenate your PROCLIBs using JCLLIB.

<B>PROCS JCLLIB ORDER=(ENDEVOR.SIT.PROCLIB,
ENDEVOR.UAT.PROCLIB,
ENDEVOR.XAT.PROCLIB,
ENDEVOR.PROD.PROCLIB)</B>

Else you can also use STEPLIB statement to override your common JCLLIB's PROCLIBs.
Guru:-)

You're never fully dressed without a smile :)

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Mon Jun 20, 2011 3:26 pm

careful Guru,

the STEPLIB statement specifies libraries for run-units, not procedure libraries.
there is only one place in a job that you can specify your procedure libraries,
that is the JCLLIB statement.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

User avatar
Gurugars
Active Member
Posts: 107
Joined: Sat Oct 23, 2010 2:17 pm
Location: Chennai,India.

Post by Gurugars » Mon Jun 20, 2011 3:47 pm

Sorry for that Dick and santhosh.

Dick,
Thanks for correcting me.
Guru:-)

You're never fully dressed without a smile :)

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others