|
|
| Author |
Message |
niceguy
New User
Joined: 21 May 2008 Posts: 7 Location: chennai
|
|
|
|
hi,
Is there any way to list out only the latest generation of GDG like
hlq1.hlq2.hlq3.abc11(0)
hlq1.hlq2.hlq3.abc12(0)
hlq1.hlq2.hlq3.abc13(0)
Please suggest. |
|
| Back to top |
|
 |
References
|
Posted: Thu Jun 05, 2008 7:38 pm Post subject: Re: How to list out only the latest generation of GDGs |
 |
|
|
 |
Moved: Thu Jun 05, 2008 9:10 pm by superk From Other Mainframe Topics to SMS & VSAM |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7997 Location: 221 B Baker St
|
|
|
|
Hello,
Where/how do you want them listed?
The (0) is a relative generation and doesn't provide any info
Please post more completely what you have and what you want as "output".
Once we understand what you are looking for, we may be able to offer suggestions. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3173 Location: Charlotte,NC USA
|
|
| Back to top |
|
 |
niceguy
New User
Joined: 21 May 2008 Posts: 7 Location: chennai
|
|
|
|
To be more specific, my requirement is like follows.
consider the limit as 5
hlq1.hlq2.hlq3.abc11.G0001V00
hlq1.hlq2.hlq3.abc11.G0002V00
hlq1.hlq2.hlq3.abc11.G0003V00
hlq1.hlq2.hlq3.abc11.G0004V00
hlq1.hlq2.hlq3.abc11.G0005V00
hlq1.hlq2.hlq3.abc12.G0003V00
hlq1.hlq2.hlq3.abc12.G0004V00
hlq1.hlq2.hlq3.abc12.G0005V00
hlq1.hlq2.hlq3.abc12.G0006V00
hlq1.hlq2.hlq3.abc12.G0007V00
hlq1.hlq2.hlq3.abc13.G0009V00
hlq1.hlq2.hlq3.abc13.G0010V00
hlq1.hlq2.hlq3.abc13.G0011V00
hlq1.hlq2.hlq3.abc13.G0012V00
hlq1.hlq2.hlq3.abc13.G0013V00
hlq1.hlq2.hlq3.abc14.G0009V00
hlq1.hlq2.hlq3.abc14.G0010V00
hlq1.hlq2.hlq3.abc14.G0011V00
hlq1.hlq2.hlq3.abc14.G0012V00
hlq1.hlq2.hlq3.abc14.G0013V00
like this i have 1000s of GDGs. now i need to list only the latest versions(bolded). is this possible? |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3207 Location: Brussels once more ...
|
|
|
|
| Dare I ask why this information is so important |
|
| Back to top |
|
 |
niceguy
New User
Joined: 21 May 2008 Posts: 7 Location: chennai
|
|
|
|
i need to monitor the number of tracks used everyday by this GDGs(created on that day). it is not possible to check manually since the numbers are very huge.
is there any otherway to find. |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3207 Location: Brussels once more ...
|
|
|
|
Take a look at the DFSORT smart tricks documentation supplied by Frank on his SORT forum.
In it , he has a working code example to find out space usage, which I think that you could change to suit your requirement. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2656 Location: italy
|
|
|
|
or again look at the ISMF reporting options
I wonder why such an helpful application is unknown to most people and seldom used
most of the reporting needs being asked here can be satisfied by ISMF |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3207 Location: Brussels once more ...
|
|
|
|
| enrico-sorichetti wrote: |
or again look at the ISMF reporting options
I wonder why such an helpful application is unknown to most people and seldom used
most of the reporting needs being asked here can be satisfied by ISMF |
Sigh .......... and you have only mentioned this excellent service about five times very recently. |
|
| Back to top |
|
 |
|
|