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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 339 views
  • 0 likes
  • 3 in conversation