Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Dataset List utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Wed May 09, 2012 10:10 pm    Post subject: Dataset List utility
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: 1788
Location: UK

PostPosted: Wed May 09, 2012 10:46 pm    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Wed May 09, 2012 10:50 pm    Post subject:
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: 187
Location: Toronto, ON, Canada

PostPosted: Wed May 09, 2012 11:35 pm    Post subject: Reply to: Dataset List utility
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

Senior Member


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

PostPosted: Wed May 09, 2012 11:42 pm    Post subject: Reply to: Dataset List utility
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us