Hi, yes I did indeed read that section, more than once. What confused me was that (c) talks about SYSEXEC and (a) talks about a user allocated library, so I assumed that SYSEXEC would not be searched before ALTLIB. Anyway, %name does work, so I'll use that.
Extract from REXX Reference - Search order... a. Search the ddname from which the exec that is calling the function or subroutine was loaded. For example, if the calling exec was loaded from the DD MYAPPL, the system searches MYAPPL for the function or subroutine. b. Search any exec libraries as defined by the TSO/E ALTLIB command c. search any data sets that are allocated to SYSEXEC. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

