IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Dataset List utility


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Wed May 09, 2012 10:10 pm
Reply with quote

I was thinking about coding a utility in Rexx to build and display a dataset list similiar to option 3.4 (DSLIST) but it would show just one entry for a generation data group. From that entry I could browse the current generation (0) or even a previous (-1) generation. The advantage is that it would show just one line on the screen instead of many lines. Since a gdg can have up to 255 generations it would save a lot of scrolling. It would do something similiar for VSAM datasets.

Before I go into coding mode I was wondering if someone else has already built something similiar? IF someone then can someone post the URL link?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed May 09, 2012 10:46 pm
Reply with quote

how would you go about selecting a specific dataset if you are only showing one line and not the full shooting match? And you can do that in 3.4 by just specifying the gdg base name on the specification panel. So, as DS says, I am probably missing something here.

Rexx doesn't 'do' VSAM (without external add-ons)
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 09, 2012 10:50 pm
Reply with quote

FIND and EXCLUDE works on 3.4.

often i go x all, f all v00G, Flip
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Wed May 09, 2012 11:35 pm
Reply with quote

Suppose I had a gdg base THIS.IS.MY.DSN In ispf 3.4 it might appear as :
THIS.IS.MY.DSN
THIS.IS.MY.DSN.G0009V00
THIS.IS.MY.DSN.G0010V00
THIS.IS.MY.DSN.G0011V00

This is not a problem if I am dealing with just one gdg. However I have to deal with many of them. With a utility rexx I want it to display as one entry:
THIS.IS.MY.DSN GDG 3 0011
This shows the gdg name, type, number of existings gens, and the name of the most current gen.

To browse the most current gen I would end just a b. To browse a previous gen b-1 or b-2

The FLIP command doesn't work on ispf option 3.4
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Wed May 09, 2012 11:42 pm
Reply with quote

Quote:
often i go x all, f all v00G, Flip


If the FLIP does not work, try:

Code:
EX '.G0' ALL

and / or
Code:
EX 'V00' ALL


It should be, more or less, the list you are looking for, which would save some time in your toolmaking.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts REASON 00D70014 in load utility DB2 6
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top