View previous topic :: View next topic
|
Author |
Message |
rsnram007
New User
Joined: 28 Jan 2009 Posts: 11 Location: chennai
|
|
|
|
Hi,
I have below requirement.
Create a jcl to find all generations of a GDG ( not limit, it current status) and copy all the version to one PS file.
Regards,
Suresh |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
look at the jcl reference and You will see that
using as the dsname the base name will concatenate all the active generations |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Code: |
//STEP0200 EXEC PGM=SORT
//SORTIN DD DSN=gdgbase,DISP=SHR
//SORTOUT DD DSN=flatfile,DISP=(new,catlg,delete)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
/*
|
|
|
Back to top |
|
|
rsnram007
New User
Joined: 28 Jan 2009 Posts: 11 Location: chennai
|
|
|
|
Thanks .......it is working Fine
Regards,
Suresh |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
... and why this in DB2 forum? |
|
Back to top |
|
|
|