The issue was the program I was calling itself called another using a process 
that precluded it being in a LIBDEF ISPLLIB ☹

Thanks to all for your suggestions


Lionel B. Dyck <sdg><
Website: http://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
ITschak Mugzach
Sent: Monday, July 8, 2019 3:12 PM
To: [email protected]
Subject: Re: Load Module lookup ?

if it is a foreground task, use ISRDDN with MEMEBER xxx  or even better LOAD 
xxx to find where the loadmodule is taken from.

ITschak

On Mon, Jul 8, 2019 at 11:03 PM Seymour J Metz <[email protected]> wrote:

> 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 <[email protected]> on 
> behalf of Lionel B Dyck <[email protected]>
> Sent: Monday, July 8, 2019 2:54 PM
> To: [email protected]
> 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_ycbaGzCbFDaC6bti
> ekdAZe4nHD5PTAZz6G3SE_XFk9z6__883XpJF-_ltKIQ0tbETvSyWp1YoltsSrBMLpP3BY
> nXVBKgT9adxNYDxeq7mtgbPYlZ2e45eJZvvGhbmOc84qGgaH6bUNLucYH9SOedSskHSbID
> 5rZpvS1JtOBWSKa2S4aBSQrlWFJhcuXffTn1cvwNBKc0t3VEA3QGmX_SmQHTDFc5zGCe1H
> -1_NMjcVOcuXbg4ANDeqD7MVvR50_cxs1OntwFZySPAbXDZ_T3jx2zIB1yXhB5hzL35_zK
> 2Kpf2tNLIGwf4ks25l7GRKqm6g4dWUgu-4NOVzzNMpaCV4B9yXSrQWYrr35t_P3WLoQ1pI
> t4CmfXVSSpOKVOBhIs_u6TncTp0pfalUlW4p1B6ccW2Ez3-0C4evhX9Qc/http%3A%2F%2
> Fwww.lbdsoftware.com%2F>
>
> http://secure-web.cisco.com/1bPHxGiKvMfoTCluc1O03HuyW0i1mkswU6CybQQMMk
> IFwMsy9YmEB8FZzFDjQM-1V9eWdYuDHeVoBoXsrBx72pP7YYo-bn94Lhal41Pfjht5so8g
> c681gcGtNW36IUas_1Nx_hs_nHrtFvpV8mmRzMhpS62fRoNA9ypwtXVDUrOc_N5Ibjkvu8
> gMSL0qOp-e8XF1Yz81-VJcbtsJke-VqPdpdEWsedyEnlzbKTJXDxQAR-DW0D91aERZ00Sw
> ZFKPBbVX46F0sT-0qtlpRoJfFy07aNbJrenyqFDANrb3Q8K9f3hAkDVQ2Hc8hK2ohr31Nn
> 4czd2phNWUXE3UGpzovpshIIyvUQ3OdXAZN0jHeIlX0bXrOxSewF8M42T-HGOt_eoyYuHW
> K_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 [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>


--
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring for 
Legacy **|  *

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to