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!!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.