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 <[email protected]> On Behalf Of
> John McKown
> Sent: Thursday, July 25, 2019 12:47 PM
> To: [email protected]
> 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
> [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to