View previous topic :: View next topic
|
Author |
Message |
satish_sindiri
New User
Joined: 10 Apr 2006 Posts: 1 Location: Bhubaneswar
|
|
|
|
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 |
|
|
raghu.bachu
New User
Joined: 04 Apr 2006 Posts: 2 Location: Mumbai
|
|
|
|
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 |
|
|
Jerry
New User
Joined: 16 Sep 2005 Posts: 42
|
|
|
|
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 |
|
|
|