Yes, it's a CICS program.

The function offers another possibility: System Key 0-7. But no idea on how
to do it...

The exact explanation for the error is:
   | 814 (2068)  | You supplied a key identifier or token to the key
|
   |             | generate, key import, multiple secure key import, key
|
   |             | export, or key record write callable service.  This key
|
   |             | identifier holds an importer or exporter key, and the
|
   |             | NOCV bit is on in the token. Only programs running in
|
   |             | supervisor state or in a system key (key 0-7) may
|
   |             | provide a key identifier with this bit set on. Your
|
   |             | program was not running in supervisor state or a system
|
   |             | key.
|
   |             |
|
   |             | User action: Either use a different key identifier, or
|
   |             | else run in supervisor state or a system key.
|

Saludos!
Best regards!
     VĂ­ctor de la Fuente Seivane
     Departamento de Sistemas
     Caixa Galicia


-----Mensaje original-----
De: R.S. [mailto:[EMAIL PROTECTED] 
Enviado el: viernes, 22 de julio de 2005 12:46
Para: [email protected]
Asunto: Re: Newbie doubt about Supervised State


De La Fuente Seivane, Victor wrote:

> Hello all!
> As I write in the subject, I'm just a newbie. I'm sure what I'm going 
> to ask is obvious, but here I go...
>  
> I have a PL/I program trying to work with ICSF, and using one of the 
> functions (I don't remember which one) and I reached Return Code 8; 
> Reason Code 2068. It means I must execute the program in supervisor 
> state or key 0.
>  
> What can I do to execute my program in Supervisor state?

As others said, you shouldn't execute your program in supervisor state, 
absolutely.
You should change the program or environment to get rid of the requirement.
I vaguely remember such problem with CICS programs, it the program 
written for CICS ?

-- 
Radoslaw Skorupka
Lodz, Poland

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