Concatenate Multiple GDG base only if the versions exists

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

Posts: 7
Joined: Sun Dec 16, 2012 9:46 am

Concatenate Multiple GDG base only if the versions exists

Post by gyt3 » Sun Dec 30, 2012 10:03 am

I have 15 input GDG base, and i want to concatenate them into a single output dataset.

Out of 15, some GDG base might have versions , whereas some might not have.

Will the job abend if there are no versions for atleast one of the 15 GDG base ??

If so , how can it be handled. Can anyone help me out in this ??

Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Dec 31, 2012 9:56 pm

Duplicate post from another forum - locked.




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.
Mainframe Interview questions

Other References
Mainframe Tools and others