Solved! Thank you very much Tony and Binyamin PARSE SOURCE cracked the problem nicely
Sean On Wed, 1 May 2019 at 10:15, Binyamin Dissen <bdis...@dissensoftware.com> wrote: > Lookup PARSE SOURCE > > > > On Wed, 1 May 2019 09:38:05 +0100 Sean Gleann <sean.gle...@gmail.com> > wrote: > > :>Hello all > :>I am developing a REXX that, for a number of reasons, needs to know the > :>name of the PDS that it is stored in. > :>The intention is that the REXX will be invoked from ISPF option 6, so > :>typing something like: > :> > :>exec 'MY.REXX.LIB(TESTREXX)' 'MY.REXX.LIB' > :> > :>*is* an option, but one that is prone to error, and extra coding would be > :>required to validate the passed parameter. > :>What I really want is to be able to discover the 'MY.REXX.LIB' value > within > :>the REXX itself. > :>Can anyone point me at a specific function (or whatever) that would do > this? > :>Is it even possible? > > -- > Binyamin Dissen <bdis...@dissensoftware.com> > http://www.dissensoftware.com > > Director, Dissen Software, Bar & Grill - Israel > > > Should you use the mailblocks package and expect a response from me, > you should preauthorize the dissensoftware.com domain. > > I very rarely bother responding to challenge/response systems, > especially those from irresponsible companies. > > ---------------------------------------------------------------------- > 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