> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of David Shein
> Sent: Wednesday, November 18, 2009 3:53 PM
> To: [email protected]
> Subject: Re: Reentrant Programs and Protected Storage
<Snipped> 
> I have sought advice about posting an AMBLIST or ISPF display here
> and been told that it might violate an NDA.  No one is absolutely
> certain, so I have been told not to do it.  But trust me, many pairs
> of eyes have verified that this load module, no matter how often it
> is relinked, is AC(0) and has no attributes -- no RENT, no REUS, no
> REFR, nothing.  And the behavior is absolutely 100% repeatable.  Run
> it from an authorized library, it fails.  Run it from an "ordinary"
> library, it works.  Every.  Single.  Time.

Do you have z/XDC available?  If so, you can us it to debug this program
when it is authorized (via XDCCALLA) and see exactly where things are
when the abend occurs.

If not, I think another poster suggested looking at a dump with IPCS
(which I must admit I don't know very well) and see what storage subpool
that DB2 module is located in when it abends.

Also, I think the earlier suggestion that maybe the DB2 module gets
loaded into protected storage when the top-level caller (your program)
is authorized has a hint of possibility to it.  OTOH, if the DB2 module
is statically linked with your program, then it is purely a question of
into which subpool your program gets loaded.  IMHO you need to nail that
down.

HTH

Peter


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


----------------------------------------------------------------------
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

Reply via email to