JCL Query- Urgent.

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

pratik Ranjan
Member
Posts: 21
Joined: Wed Jan 21, 2009 2:21 pm
Location: Hyderabad

Post by pratik Ranjan » Fri Feb 06, 2009 1:11 pm

Thanks Natarajan/Anuj,

Actually once i came to know about the keyword 'INCLUDE' from you people, i did some more research, and then i optimized my JCLs as below.

I created a PDS and stored all the symbolics there as below.

PDS : PRATIK.SYMBOLIC(KEYWORDS)
Contents of this MEMBER:
//SET SYMBOL1=...,SYMBOL2=..., SYMBOL3=..., ...ETC

And then in all my 12 JCLS, i have included them as below:

//JOB CARD
// JCLLIB ORDER=(PRATIK.SYMBOLIC)
//SYMBOL INCLUDE MEMBER=KEYWORDS
.
.
.
.
.
Down the line, in all the JCLS, those symbolics are used.


In this way, it solved my problem, and now so much of the manual work is reduced.

Thanks very much once again.
Pratik Ranjan.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Feb 06, 2009 1:18 pm

Hi,

Glad to hear it worked for you - it should be noted though that INCLUDE is used ONLY on MVS/ESA Version 4 or higher systems to name an INCLUDE group, as you could use it successfully obviously you are not under threat... :)
Regards,
Anuj

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