Setting up license files to connect to Db2 for z/OS database with Db2 for DataStage connector
With the Db2 for for DataStage connector, you can connect to a Db2 for z/OS database.
Prerequisites
Create the connection. For instructions, see Connecting to a data source in DataStage and the IBM Db2 for DataStage connection.
Note: For IBM Cloud Pak® 5.1.3 and newer, Db2 for DataStage client version is upgraded to 12.1.0. Make
sure DB2 for Z/OS license file has an entry that points to 12.1.0.
Setting up license files
Set up license certificate files to create a Db2 for z/OS connection.
- Copy Db2® for z/OS® license file into the
cluster.
<path-to-db2z-license-file> - Set the default project location to where Cloud Pak for Data is
installed.
oc project $PROJECT_CPD_INST_OPERANDS - Create the license secret on the
cluster.
oc create secret generic datastage-db2z-license --from-file=db2consv_ee.lic=<path-to-db2z-license-file>Note: When adding your license file path, make sure that you update only the following part: <path-to-db2z-license-file> and the rest of the command is not changed. - Restart the
px-runtimepods.oc delete pod -l app.kubernetes.io/component=px-runtime - Restart the
caslitepods.oc delete pod -l app.kubernetes.io/component=caslite