what is the difference between %put and symbolgen?
Answer Posted / basha
both are used bebugging of macros
%put stmt write the text or macro variable information
like all macro global variables
where as
symbolgen display what macro variable resolves the value
ex;
%let v=sas;
symbolgen displays
macro variable v resolves to sas
this is especially useful when macro variables resolves
other than that u expected
%put stmt is also used with in the macro
symbolgen must be used options stmt
debugging macro with %put stmt
%put &d;
log:macrovariable d resolves to 'some-value '
regarda
basha
if any suggestion of this answer please mail
me:bashag3@yahoo.com
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between match merge and one to one merge?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
Differentiate input and infile.
what are 5 ways to perform a table lookup in sas? : Sas-administrator
what are validation tools that are used in sas? : Sas-administrator
How do dates work in sas?
Describe crosslist option in tables statement?
What is the use of PROC gplot?
how can you put a "trace" in your program? : Sas programming
Can you execute macro within another macro? : sas-macro
explain about sas business intelligence? : Sas-bi
What is the difference between class statement and by statement in proc means?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Give an example where SAS fails to convert character value to numeric value automatically?
describe how to adjust the performance of data integrator? : Sas-di