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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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