> In the manual it says, if you addr= , OS/390 will not keep track of
> where the program is loaded. The pgm is norent... I want it 
> to be loaded
> in key9 + I want subsequent SVC 08 to be returned the address of where
> it was loaded.... So far the only thing I can see is maybe use the
> changkey for the virtual storage where the first load

I really don't understand what you're trying to accomplish. 
CICS does not want you to LOAD anything. CICS will take care
of that on your behalf. And you shouldn't be messing around
in the CICS address space while running in an authorized 
condition unless you really know what you're doing. It is very
easy for you to introduce integrity exposures and/or to bring
that address space and/or the whole system down. What you're
apparently trying to do is not something you should attempt.

Doing a directed load could theoretically accomplish what it
appears you want (code in key 9) but contents supervision will
not build a CDE for a directed load and so subsequent LOAD 
requests will not find the copy you loaded. And once again,
you must be authorized to do a directed load. But if you are
authorized, the module MUST come from an APF authorized library
and to be rational about it, the module really ought to be 
reentrant. So... if you have the wherewithall to do any of that
you might as well go ahead and use an ordinary load of the same
(reentrant) module from an APF authorized library. That code will
then be loaded in key zero - but NOT fetch protected. Your key 9
unauthorized code will have no problem executing it (assuming it
really is reentrant as it ought to be)

Messing with the storage key or fetch protection attributes is
a bad idea in general. If you explained what you were trying to
accomplish (functionally) we could probably tell you how to do
it, but as it is you're off in the weeds with no hope of survival.

CC

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