Chris,
While I can't speak for a PL/I program, I know that a C program running
under LE can run APF authorized correctly.  However, as you state, getting
into SUP State still requires an assembler program, since there are no
MODESET functions available to HLL's (at least not public ones).  But I will
agree with you that the original poster is clearly in over his head, and
would be best advised to find other ways to accomplish the task at hand.
Wayne Driscoll
Product Developer
Western Metal Supply
NOTE: All opinions are strictly my own.
  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Craddock, Chris
Sent: Thursday, July 21, 2005 5:50 PM
To: [email protected]
Subject: Re: Newbie doubt about Supervised State

> All you have to do is specify AC=1 in the binder control statements, 
> then have your program promoted to an APF authorized library. It is 
> the ICSF API that requires the authorization. I think it is because 
> you are trying to work with the keys, not just the tokens.

I believe he was talking about a PL/1 program. Presumably compiled with the
standard PL/1 compiler and running under good ol' LE. I'm prepared to be
wrong, but I doubt there's a snowball's chance in hell of getting an AC(1)
program to run correctly in that environment and even if it did, that would
only get it there in an APF authorized condition. 

I believe the interface requirement for the crypto stuff is actually that
you must be in sup state as the poster said.
Not a prayer of accomplishing that from PL/1. Some asm glue would be needed
and he's a self-professed newbie. 

 IOW abandon hope all ye who enter...

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

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