Defining license keys (SYGWLKEY)

The SYGWLKEY macro is part of the SYGWXCPH global customization module. It is used to define the customer license key that is verified at runtime and has two parameters:

Parameter

Definition

PRODUCT

The product related to the license key, either the Client Option, the Server Option, or the DB2 UDB Option. Valid values are OCC, OSC, or DB2.

KEY

Defines the license key given for a product. The license key is a 23-character numeric value.

This example of SYGWLKEY defines license keys for four Mainframe Connect options in the order they are listed: Client Option for CICS, Server Option for CICS, Server Option for IMS and MVS, and DB2 UDB Option for CICS:

SYGWLKEY TYPE=INITIAL
SYGWLKEY TYPE=ENTRY,PRODUCT=OCC,KEY=19320-00000-10$*#-#19$B
SYGWLKEY TYPE=ENTRY,PRODUCT=OSC,KEY=19300-00000-10E2G-4K##6
SYGWLKEY TYPE=ENTRY,PRODUCT=OSC,KEY=19315-00000-2$#0$-4A#49
SYGWLKEY TYPE=ENTRY,PRODUCT=DB2,KEY=26875-00239-2$$$A-#AR#H
SYGWLKEY TYPE=FINAL