BookmarkSubscribeRSS Feed
frupaul
Quartz | Level 8

Hi Everyone,

 

I am creating a report for Excel using SAS. So in my scripts, I output the field names to be excel friendly giving them an alias 'Field name'n.  So the table I am creating has many fields that are named in that manner. However, SAS DI has picked on one of those fields and issued a message that id doesn't recognise it. Please see logs.

- Image 1 is a screen shot of the body of code

- Image 2 is a screen shot of the log with error message.

 

Please can anyone help?

 

Thanks,image1.PNG

image2.PNG

1 REPLY 1
Kurt_Bremser
Super User

Please do ALWAYS post code in a proper window, either using the "little running man" or the {i} button.

 

If SAS complains about all variable names with blanks, you may not have set validvarname=any.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 765 views
  • 0 likes
  • 2 in conversation