Like Walt suggested, use the PARSE SOURCE function: /*rexx*/ parse source . . . dd dataset . say "DD name is " dd say "dataset name is " dataset
On 20 November 2016 at 03:44, Paul Gilmartin < [email protected]> wrote: > On Sat, 19 Nov 2016 19:36:41 -0600, Walt Farrell wrote: > > >On Sat, 19 Nov 2016 19:30:28 -0600, Donald Likens wrote: > > > >>Has anyone come up with a way for a REXX program to determine the > library it resides in? > > > >Have you looked at the REXX parse source instruction? > > > To cite a recent statement by an expert: > > The DEB is buil[t] during OPEN. ... By the time ..., the information > about an individual data set is long gone. > > I suppose the Rexx interpreter could find something in the TIOT. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- Mike Shorkend [email protected] www.shorkend.com Tel: +972524208743 Fax: +97239772196 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
