BookmarkSubscribeRSS Feed
nenita
Calcite | Level 5

Hi,

 

I am fairly new in SAS DI.  I have created a new job which extracts from a flat file, transposes the rows into columns and writes them into a .CSV file.  However, when I ran the job, I have this error:

ERROR: The following columns were not found in the contributing tables: mchn_nm.

 

Can someone help me resolve this issue, please?  Thank you.

 

 


Capture.JPG
1 REPLY 1
LinusH
Tourmaline | Level 20
Transpose is a "dangerous" transformation since it creates new columns dynamically based on row values. Carefully analyze your log and view the output data from the transformation to understand the miss match between meta data and physical data.
Sadly, there is no silver bullet here.
If you want to have fixed output layout you probably need somehow hard code the columns you like to keep.
There are ways to generete meta data on the fly - but that's usually complicating the overall solution.
Data never sleeps

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1 reply
  • 1363 views
  • 0 likes
  • 2 in conversation