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!!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.