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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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