Hi,
.I have to create one store process where I have to display the data in HTML page. I created but it was giving me an error-
* _webout in use.
I removed %STPBEGIN and %STPEND and executed as well.It worked . I checked the output but I couldn't see the macro value .
EX:-
global check;
%let Check=10;
data _null_;
file _webout;
put '<HTML>';
put '<HEAD><TITLE>Hello World!</TITLE></HEAD>';
put '<BODY>';
put '<H1>Hello World!&check</H1>';
put '</BODY>';
put '</HTML>';
run;
OUTPUT:-
HELLO World!&check
but the output should have been Hello World!10
***pls help :smileyplain:
If you want the macro processor to resolve a macro variable, you must use double quotes. Single quotes keep the macro processor from working on the enclosed string.
If you want the macro processor to resolve a macro variable, you must use double quotes. Single quotes keep the macro processor from working on the enclosed string.
Thanks Man that was really helpful!!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.