> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:[email protected]] On Behalf Of
> D'Angelo, Paul V.
> Sent: Thursday, June 17, 2010 12:22 PM
> To: [email protected]
> Subject: ATTACH Macro with DCB=
>
> Is there any way to issue an ATTACH macro (for an Authorized program)
> from a Non Authorized Program.
> By that I mean the Non Authorized Program is in STEPLIB (Not
> Authorized)
> and it issues an ATTACH with a DCB= parameter
> The DCB Parameter references a DD Statement whose DSN is an authorized
> Library.
> I seem to recall I tried this many years ago and it would not produce
> the results I wanted.
>
> //STEP DD DSN=NOTAUTH.LIBRARY
>
> //MYAUTH DD DSN=MYAUTH.LIBRARY
>
> ATTACH EP=AUTHPGM,DCB=MYAUTH

Yes, but it won't run as authorized. Do you want it to run authorized? If so, 
you could only do that by somehow injecting code into z/OS which violates IBM's 
security directives (aka a "magic SVC" or a subsystem of some sort).

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

Reply via email to