That depends on the environment. For TSO. Page 59 of https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sa320972/$file/ikja300_v2r3.pdf
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Tony Thigpen <[email protected]> Sent: Wednesday, May 1, 2019 4:59 AM To: [email protected] Subject: Re: REXX 'where did I come from' function? What does "PARSE SOURCE" return? Tony Thigpen Sean Gleann wrote on 5/1/19 4:38 AM: > 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? > > Regards > Sean > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
