Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Concatenating GDG Version of a Dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
satish_sindiri

New User


Joined: 10 Apr 2006
Posts: 1
Location: Bhubaneswar

PostPosted: Mon Apr 10, 2006 3:22 pm    Post subject: Concatenating GDG Version of a Dataset
Reply with quote

Hi,
What should I specify in the JCL to concatenate 'n' generations of dataset.
One approach is to list out all the generations. Is there any other approach.
Also can how do i specify if I want to concatenate all odd numbered generations?
Thank You,
Satish Sindiri
Back to top
View user's profile Send private message

raghu.bachu

New User


Joined: 04 Apr 2006
Posts: 2
Location: Mumbai

PostPosted: Mon Apr 10, 2006 4:51 pm    Post subject: Re: Concatenating GDG Version of a Dataset
Reply with quote

HI Satish,

Quote:
What should I specify in the JCL to concatenate 'n' generations of dataset.

As mentioned in tis post only you need to write all versions only, if you want to concatename n generation,
If you want concatename all generation then write only base name.

Hope this helps
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Tue Apr 11, 2006 4:41 pm    Post subject:
Reply with quote

Hi Satish,
If it is to copy all tbe generations of the GDG, then
you could use the infile as the base GDG to copy. Say, XXX.YYY.ZZZ is the GDG's base.

//STEP01 EXEC PGM=IDCAMS
//INFIL DD DSN=XXX.YYY.ZZZ,DISP=SHR
//OUTFIL DD DSN=xxx.yyy.zz1,
// DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INFILE(INFIL) OUTFILE(OUTFIL)
/*

CORRECT ME IF I AM WRONG.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us