View previous topic :: View next topic
|
Author |
Message |
T.O.
New User
Joined: 27 Apr 2006 Posts: 23
|
|
|
|
I want to list a bunch of (0) generation datasets and write it to a dataset. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
IDCAMS LISTCAT, or the TSO command LISTCAT. |
|
Back to top |
|
|
T.O.
New User
Joined: 27 Apr 2006 Posts: 23
|
|
|
|
superk wrote: |
IDCAMS LISTCAT, or the TSO command LISTCAT. |
But how do I get it to list only the current generation of a dataset and not all ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can't. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
There's only one alternative I can think of, and it would require a job with one unique DD statement for each generation-0 dataset you want to inquire on, and it would require some knowledge of REXX or CLIST functrions.
Could you meet these requirements for your process? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Or maybe DFdss where you can filter relative generations
If I remember correctly. Might be worth a browse within the fine manual. |
|
Back to top |
|
|
|