Overriding the Dataset

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
Giri12
Member
Posts: 10
Joined: Thu Apr 09, 2009 12:37 pm
Location: Bangalore

Overriding the Dataset

Post by Giri12 » Fri Nov 13, 2009 7:34 pm

Proc has 5 datasets concatenated. How to override only the 3rd dataset?
Hi

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

Post by Anuj Dhawan » Sat Nov 14, 2009 4:56 pm

Something like this should work:

Code: Select all

//DDname DD 
//       DD
//       DD DSN=dataset to override
//       DD
//       DD
Regards,
Anuj

Gerry Ciccheti
Member
Posts: 16
Joined: Thu Jul 30, 2009 7:52 am

Post by Gerry Ciccheti » Tue Nov 17, 2009 3:49 am

Hi,

if you have more than 1 step in the PROc then you need to code it as

//procstepname.ddname DD


Gerry

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