BookmarkSubscribeRSS Feed
Mike_Davis
Fluorite | Level 6


Hello everyone;

I have a problem when I run the code:

%put This is  Tom's car;

Please advise.

Thanks!

2 REPLIES 2
data_null__
Jade | Level 19

You need to "macro" quote the unmatched single quote.

 

192 %put This is Tom%nrbquote(')s car;

This is Tom's car

Ksharp
Super User

%put %str(This is  Tom%'s car) ;

This is Tom's car

Ksharp

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1235 views
  • 6 likes
  • 3 in conversation