BookmarkSubscribeRSS Feed
Naiii
Fluorite | Level 6

image (18).png                                  

  • Please, can someone help me understand this error?

  • How can I further automate the data loading in SAS Viya?

 

2 REPLIES 2
ballardw
Super User

The source of the error appears to be clear: using an incorrect data type for some purpose.

 

Solution: make sure the data is the correct type.

Almost any sort of "automated" data load where the properties of variables are not controlled may eventually lead to such a problem. A common approach it to control how the data is read into SAS for use to ensure appropriate data types and values. Without knowing a LOT more about your data sources that sort of generality is about all that can be provided.

 

Warning: some file types seem to lend themselves to more data inconsistency issues than others. Spreadsheets do not generally provide any sort of column restrictions so you can end up with some character values mixed in with what should be a numeric column or vice versa. Not much in the way of automation is possible with this if the source is poor to begin with.

Madelyn_SAS
SAS Super FREQ

This SAS note explains the most likely cause. Only DOUBLE is supported for numeric variables



https://support.sas.com/kb/64/945.html

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 910 views
  • 1 like
  • 3 in conversation