BookmarkSubscribeRSS Feed
Rajnish
Calcite | Level 5
Hi,More than a reply, its a querry. I am new user of SAS Enterprises 4.3. I found that its is more convenient in importing .xlsx file as compared to SAS 9.1. However the problem is that when I try to use SAS data set created by SAS Enterprises 4.3 in SAS 9.1, some error is coming "The value Comapany name is not recognized". Does anyone can help in this. As I have lots of .xlsx file. I know I can always convert it in csv file and then import it in SAS 9.1.
Thanks in advance.
1 REPLY 1
ChrisHemedinger
Community Manager
Rajinish,

I think what's happening is that the output data contains one or more columns with a space in the column name: "Company name", for example.

In Enterprise Guide 4.2 and 4.3, check the box on the Import Data task that says "Rename columns to comply with traditional SAS naming conventions". That's the easiest fix.

You could also elect to retain the name with the space, and use OPTIONS VALIDVARNAME=ANY in SAS to read the data, but that is less convenient when you want to write programs that reference the data column.


Chris
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 731 views
  • 0 likes
  • 2 in conversation