SAS Data Management

SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop, SAS Data Preparation and others
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-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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