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!!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—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.