As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:June 26

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

It is well known that macro variables do not resolve within single quotes - what if you have a need to include a macro variable WITHIN single quotes? By using the escape character %str(%'), you can accomplish this. For example, let's say you have a macro variable named YADAYADA - then the syntax would be: %str(%')&YADAYADA.%str(%'). This can be especially helpful for database passwords, among other things.

Submitted By Stfogleman



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip