John, I would agree using the catalog interface is not fun.  Also I ran a quick 
test and I was wrong about using the (0) as part of the name.  I had to use 
ABC.XYZ.* to get any information back with the test code I had.  The output 
that came back was a list of all the datasets in the GDG base.

Thanks..

Paul Feller
AGT Mainframe Technical Support


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Thursday, July 25, 2019 3:17 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TSO REXX -- find absolute generation # from relative? [EXTERNAL]

I have done a LISTC ENT('gdgname') 

Then parsed the output to find the gen0

Take the First entry on the GDG list GDGBASE.G0000v00 + GDG limit = close to 
gen0



Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On 
> Behalf Of John McKown
> Sent: Thursday, July 25, 2019 12:47 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: TSO REXX -- find absolute generation # from relative?
> 
> I just don't see any _simple_ way to do this. I need to convert the
> gdgbase(0) into gdgbase.GnnnnVnn absolute. Believe it or not, I have a 
> product which creates a number of PDS libraries (not PDSE) which are 
> GDG. I want to generate some JCL which is the equivalent of:
> 
> //SYSUT1 DD DISP=SHR,DSN=GDGBASE(0)(MEMBER)
> 
> Which is a JCL error.
> 
> --
> A sine curve goes off to infinity, or at least the end of the blackboard.
> -- Prof. Steiner
> 
> Maranatha! <><
> John McKown
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
Please note:  This message originated outside your organization. Please use 
caution when opening links or attachments.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to