Joined: 01 Sep 2006 Posts: 2115 Location: Silicon Valley
It would help if you issued PROFILE MSGID before invoking the exec. It should provide a messages number that you can search for.
If you say: SELECT CMD(%myprog)
It searches rexx and clist only.
If you say: SELECT CMD(myprog)
It searches rexx and clist followed by load module search.
If you say: CALL *(myprog)
It searches load modules only. This is probably where you are failing. How are you adding your library to the standard search order. Perhaps you can get by by adding to the ISPLLIB concatenation before you start ISPF.
Consider using LIBDEF followed by: SELECT PGM(myprog)
You should read the discussion of 'User link libraries' in the ISPF Services manual, under LIBDEF.
Joined: 13 Jun 2012 Posts: 88 Location: United States
Thank you very much! That is just what I needed. I didn't know what it searched with this command. Now that I know, I found the problem. The library it needed to search should have been linklisted. It wasn't.