IBM Support

Slowly Changing Dimension Stage (SCD) Preprocessing Primary Key Derivation Error During Infosphere Datastage Job Compile

Troubleshooting


Problem

Slowly Changing Dimension (SCD) stage preprocessing primary key derivation error during Infosphere Datastage job compile.

Symptom

Error returned to display during job compile:

"Error preprocessing Primary Key Derivation for stage {SCD stage name}". Clicking on More indicates : "The key expression for column '<column_name>' is empty, if the column is not going to be used as a lookup key then the key flag should be cleared!"

Cause

Possible causes
1) Wrong lookup key in the referenced in the Slowly Changing Dimension stage
2) Wrong primary key columns designated

Diagnosing The Problem

Review primary key columns in all stages to ensure using correct key columns.

Resolving The Problem

Correct primary key column designation in Slowly Changing Dimension stage.

[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1.2.0;9.1;11.3.1.0;11.3","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21961204