On Tue, 7 May 2024 18:27:08 +0000, Lars Höglund <lars.hogl...@alecta.se> wrote: >We had a program called JOBINFO (in allocated STEPLIB) >Didn't realize that jobinfo = jobinfo() in a Rexx will trying to start, and >maybe executing the cobolmodule >We also have a Rexx called jobinfo, and that the one I want to execute.
Oh! Here's what I didn't know about the REXX function/subroutine search order on TSO until just now: https://www.ibm.com/docs/en/zos/3.1.0?topic=subroutines-search-order >If a match to the function name is not found, the function search order flag >(FUNCSOFL) is checked. The FUNCSOFL flag (see Flags and corresponding masks) >indicates whether load libraries are searched before the search for a REXX >exec. > >If the flag is off, check the load libraries. If a match to the function name >is not found, search for a REXX program. > >If the flag is on, search for a REXX program. If a match to the function name >is not found, check the load libraries. > >By default, the FUNCSOFL flag is off, which means that load libraries are >searched before the search for a REXX exec. ¬R ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN