Do you specify NEWAPPL? PASSLIB? What is the failure mode if not an S806? I wouldn't expect address ISPEXEC to work with a LIBDEF'd library unless the code was called with SELECT CMD(xxx). I don't recall the details, but combining LIBDEF for ISPLLIB with SELECT PGM(xxx) can be a bit tricky.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Lionel B Dyck <lbd...@gmail.com> Sent: Monday, July 8, 2019 2:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Load Module lookup ? I have some code that calls a load module. In my unit test, both online and batch, with a hard coded DD for ISPLLIB, the call to the program works using both Address LINKMVS and Address ISPEXEC 'Select PGM(xxx)'. When I change to use a LIBDEF both address Linkmvs and address ispexec select fail but do not report an 806. The only thing that actually works without the hardcoded DD is to call 'loadlib(lmod)' which I'm very reluctant to do but it's the only thing I can for now. I have a feeling this is something trivial that I'm just overlooking. Advice please. Lionel B. Dyck <sdg>< Website: <http://secure-web.cisco.com/1qTuIlTf1nXvUomUHQT2zApFG_ycbaGzCbFDaC6btiekdAZe4nHD5PTAZz6G3SE_XFk9z6__883XpJF-_ltKIQ0tbETvSyWp1YoltsSrBMLpP3BYnXVBKgT9adxNYDxeq7mtgbPYlZ2e45eJZvvGhbmOc84qGgaH6bUNLucYH9SOedSskHSbID5rZpvS1JtOBWSKa2S4aBSQrlWFJhcuXffTn1cvwNBKc0t3VEA3QGmX_SmQHTDFc5zGCe1H-1_NMjcVOcuXbg4ANDeqD7MVvR50_cxs1OntwFZySPAbXDZ_T3jx2zIB1yXhB5hzL35_zK2Kpf2tNLIGwf4ks25l7GRKqm6g4dWUgu-4NOVzzNMpaCV4B9yXSrQWYrr35t_P3WLoQ1pIt4CmfXVSSpOKVOBhIs_u6TncTp0pfalUlW4p1B6ccW2Ez3-0C4evhX9Qc/http%3A%2F%2Fwww.lbdsoftware.com%2F> http://secure-web.cisco.com/1bPHxGiKvMfoTCluc1O03HuyW0i1mkswU6CybQQMMkIFwMsy9YmEB8FZzFDjQM-1V9eWdYuDHeVoBoXsrBx72pP7YYo-bn94Lhal41Pfjht5so8gc681gcGtNW36IUas_1Nx_hs_nHrtFvpV8mmRzMhpS62fRoNA9ypwtXVDUrOc_N5Ibjkvu8gMSL0qOp-e8XF1Yz81-VJcbtsJke-VqPdpdEWsedyEnlzbKTJXDxQAR-DW0D91aERZ00SwZFKPBbVX46F0sT-0qtlpRoJfFy07aNbJrenyqFDANrb3Q8K9f3hAkDVQ2Hc8hK2ohr31Nn4czd2phNWUXE3UGpzovpshIIyvUQ3OdXAZN0jHeIlX0bXrOxSewF8M42T-HGOt_eoyYuHWK_f9R9afDzweFKy46XCtb0U1cSchNnrtTg_-Rwcd2oo! nPuThscSw1saHL/http%3A%2F%2Fwww.lbdsoftware.com "Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are." - John Wooden ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN