BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Alexander5
Calcite | Level 5

With the following statement I am receiving the following error: i am new to SAS any help is much appreciated.

statement:

Alexander5_0-1674838642604.png

error:

Alexander5_1-1674838672010.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

The underlines in the photograph you posted are showing where SAS first detected the error.

Since it seems to be underlining white space on the screen the problem is probably caused by some strange non-ascii invisible character in your program file. 

Retype the problem lines. Or perhaps just replace all of the white space with actual space characters.

View solution in original post

3 REPLIES 3
ErikLund_Jensen
Rhodochrosite | Level 12

 @Alexander5 

 

Please show the full program and the full log. This error is probably caused by a syntax error earlier in the program, but that is just guesswork until the whole program and log is available.

Tom
Super User Tom
Super User

The underlines in the photograph you posted are showing where SAS first detected the error.

Since it seems to be underlining white space on the screen the problem is probably caused by some strange non-ascii invisible character in your program file. 

Retype the problem lines. Or perhaps just replace all of the white space with actual space characters.

Alexander5
Calcite | Level 5
Thank you for all your help! problem solved. dang white space

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 Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 883 views
  • 0 likes
  • 3 in conversation