BookmarkSubscribeRSS Feed
Winkle
Calcite | Level 5
Hi All,
 
May I consult one issue regard to excel file import? Our SAS version is SAS 9.4 EG.
 
When I import excel file (.xlsx & .xls), will have one log issue as follows,
NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with options MSGLEVEL=I.
 
(Program:
PROC IMPORT DATAFILE="&_project.data\sdtm csv\test.xlsx"  OUT=temp1 DBMS= xlsx replace; Sheet = "TA";getnames = Yes;
RUN;)
 
Could you please let me know how to solve this issue?
 
Thank you so much 🙂
2 REPLIES 2
ballardw
Super User

Did you run the code after setting msglevel=1?

 

This is a data content issue. Without seeing actual data that might be very hard to diagnose.

Did the sheet contain any graphs or pivot tables? Those are possible issues.

I would suggest looking at the data in the resulting SAS data set and examining the Excel file to see what did not end up in the SAS data set.

himself
Pyrite | Level 9

Hi, I know the reply is out of date,  but i did put options msglevel=I and the bad note was no more.

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 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
  • 2 replies
  • 10615 views
  • 0 likes
  • 3 in conversation