BookmarkSubscribeRSS Feed
WorkingMan
Calcite | Level 5

I am a SAS Developer and I am using SAS Data Integration Studio to build ETL jobs. I am facing an issue with SCD Type 2 Loader whereby all business key, changing columns, date, generate columns are properly set but is hitting the error below:

 

ERROR: no keys variable have been defined for file ACCOUNT_DIM

 

Upon googling, I think this has something to do with index and key. Currently, this SCD Type 2 Loader will generate "ACCOUNT_SK" but at the same time, this particular column in ACCOUNT_DIM table has index and key set to "ACCOUNT_SK". Is there any issue of conflict if a column is set as generate and index + key at the same time? If no, what could be the cause of this?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 744 views
  • 0 likes
  • 1 in conversation