BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
TurnTheBacon
Fluorite | Level 6

I recently removed an "SCL Type 2 Loader" from a DI Studio job, and created a new surrogate PK for the output table. The job ran fine. However, now that I've transferred the job to a new environment, I get the following warning for each of the four variables that were removed along with the SCL Type 2 Loader (policy_sk, valdidfrom_dttm, validto_dttm, and current.): "WARNING: Variable <varname> was not found on BASE file. The variable will not be added to the BASE file."

I'd greatly appreciate advice on how to fix this. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

It's all there in the error message - you miss a column in the physical target, which the metadata assumes is there.

There are no built in functionality in the Type 2 loader to identify differences between metadata and physical table lay out, and create the code to harmonize the two - it's up to the developer do this separately as a one time fix job - which should be attached when pushing changes to the next environment.

Data never sleeps

View solution in original post

1 REPLY 1
LinusH
Tourmaline | Level 20

It's all there in the error message - you miss a column in the physical target, which the metadata assumes is there.

There are no built in functionality in the Type 2 loader to identify differences between metadata and physical table lay out, and create the code to harmonize the two - it's up to the developer do this separately as a one time fix job - which should be attached when pushing changes to the next environment.

Data never sleeps

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 4265 views
  • 0 likes
  • 2 in conversation