Tip of the Day:July 31

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

The SAS V9 CALL SYMPUTX routine can save you keystrokes and lead to leaner, cleaner SAS programs. Instead of using:

call symput('MACROVAR',trim(left(charvar)));

to load a SAS macro variable with a character string that might contain blanks, you could use SYMPUTX instead:

call symputX('MACROVAR',charvar);

Submitted by Michael A. Raithel. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip

Personal tools
Variants
Actions
Navigate
Sasopedia Detail
Contribute
Connect
Toolbox