This is being sparked from the discussion with the Subject of STORAGE. Basically, that person wanted/needed to obtain "permanent" storage (ECSA or HVCOMMON). This is not easy because it require APF authorization, as is reasonable. So my basically weird mind was mulling this over. And, liking to figure out weird and wonderful ways to do this, came up with the following idea.
Use the UNIX System Services BPX1SPN to "spawn()" a new address space which runs an APF authorized program. This would run under the originators RACF id (usually). And it could therefore use SAF to validate that the caller is allowed to perform the function. In the original case, the spawn()'ed process would get the ECSA storage and save an anchor in a system level NAME/TOKEN pair. The "caller" would wait-a-bit until the NAME/TOKEN existed and would pick up the ECSA address from it. Of course, this storage would need to be key 8 in order for the originator to be able to update it. So, this is not really a good method. If desired HVCOMMON could be used instead of ECSA, if the user can tolerate 64-bit storage. Now, to address the key 8 requirement, would be for the spawn()'ed process to dynamically implement an PC environment so that the original code could run the code which requires authorization in another key. Just going insane again. There are likely even more security and reliability concerns to this approach. And, of course, the whole thing can be avoided by having an STC set up the PC environment rather than using spawn(). John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- 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

