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
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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