Generate Cipher Key (GENCPHK)

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

The Generate Cipher Key (GENCPHK) command generates a data-encrypting key enciphered under the host master key and optionally under a sending and/or receiving cross-domain key.

Top

Parameters

Keyword Description Choices Notes
CPHK CL var for generated key Character value Required, Positional 1
SNDCRSDMNK *SND cross-domain key name Name, *NONE Optional, Positional 2
SNDRTNVAR CL var for generated key Character value Optional, Positional 3
RCVCRSDMNK *RCV cross-domain key name Name, *NONE Optional, Positional 4
RCVRTNVAR CL var for generated key Character value Optional, Positional 5
Top

CL var for generated key (CPHK)

Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the host master key. This is a required parameter.

Top

*SND cross-domain key name (SNDCRSDMNK)

Specifies the name of a sending cross-domain key that is to be used to encrypt the generated data-encrypting key.

The possible values are:

*NONE
No sending cross-domain key is to be used to encrypt the data-encrypting key.
sending-cross-domain-key-name
Specify the name, or a variable containing the name, of a sending cross-domain key.
Top

CL var for generated key (SNDRTNVAR)

Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the sending cross-domain key specified on the *SND cross-domain key name prompt (SNDCRSDMNK parameter).

Top

*RCV cross-domain key name (RCVCRSDMNK)

Specifies the name of a receiving cross-domain key that is to be used to encrypt the generated data-encrypting key.

The possible values are:

*NONE
No receiving cross-domain key is to be used to encrypt the data-encrypting key.
receiving-cross-domain-key-name
Specify the name, or a variable containing the name, of a receiving cross-domain key.
Top

CL var for generated key (RCVRTNVAR)

Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the receiving cross-domain key specified on the *RCV cross-domain key name prompt (RCVCRSDMNK parameter).

Top

Examples

None
Top

Error messages

Unknown
Top