Example 4: ADD Control Statement with two TRANSKEY Keywords

This example shows a control statement specifying that KGUP create keys for key exchange between two other sites.
   ADD  TYPE(EXPORTER)  LABEL(JWL@SSIJULY03),
   TRANSKEY(SENDTOJWLJULY03,SENDTOSIIJULY03)

KGUP generates a key value and encrypts the value under the variants of the exporter key-encrypting keys that are specified by the TRANSKEY keyword. KGUP does not alter the CKDS in any way.

KGUP stores these two control statements to the control statement output data set:
   ADD  TYPE(EXPORTER)  LABEL(JWL@SSIJULY03)  TRANSKEY(SENDTOJWLJULY03),
   KEY(4542E37B570033AD,3C00F6850A99E11B)

   ADD  TYPE(IMPORTER)  LABEL(JWL@SSIJULY03)  TRANSKEY(SENDTOSIIJULY03),
   KEY(6709E5993933DA00,1449A3D9ED0A1586)

The control statements create keys that complement each other. You send the statements to two sites that want to exchange keys. The receiving sites process the statements to create a complementary pair of transport keys.

KGUP also stores information to create the keys in the key output data set.