{sigh} I parsing LISTCAT is a bother. Using IGGCSI00 is not simple, IMO at least. I really wish there were a REXX function to do it like:
absolute=RESGDG('basegdg(0)') where "absolute" would have "basegdg.g0000v00" in it. So much simpler. Am I am a simple person. You really _don't_ want to see the kludge I am cooking up use Co:Z and UNIX directories. Which are, for me, a lot easier to use that a <redacted> PDS. On Thu, Jul 25, 2019 at 3:09 PM Feller, Paul <paul.fel...@transamerica.com> wrote: > John, could you try to use the catalog interface (IGGCSI00) and do a > request for the current generation with something like ABC.XYZ(0)? I > would think you would then get back the fully qualified name. > > Thanks.. > > Paul Feller > AGT Mainframe Technical Support > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of John McKown > Sent: Thursday, July 25, 2019 2:47 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: TSO REXX -- find absolute generation # from relative? [EXTERNAL] > > 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 > > ---------------------------------------------------------------------- > 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 > -- 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