Encrypt Cipher Key (ENCCPHK)

Where allowed to run:
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
Threadsafe: No
Parameters
Examples
Error messages

The Encrypt Cipher Key (ENCCPHK) command enciphers a plaintext data-encrypting key under the host master key.

Top

Parameters

Keyword Description Choices Notes
CLRK Clear key value Character value Required, Positional 1
CPHK CL var for encrypted key Character value Required, Positional 2
Top

Clear key value (CLRK)

Specifies an 8-byte value, or a variable containing an 8-byte value, of a plaintext data-encrypting key. There are no restrictions on the value of this parameter. This is a required parameter.

Top

CL var for encrypted key (CPHK)

Specifies an 8-byte variable to receive the value of the data-encrypting key specified in the Clear key value prompt (CLRK parameter) after it is encrypted under the host master key. This is a required parameter.

Top

Examples

None
Top

Error messages

Unknown
Top