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: 183
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: 1756
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: 6966
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: 183
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: 2033
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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