Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us