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


Please Help Members By Posting Answers For Below Questions

What is the difference between match merge and one to one merge?

779


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

1752


Differentiate input and infile.

694


what are 5 ways to perform a table lookup in sas? : Sas-administrator

863


what are validation tools that are used in sas? : Sas-administrator

691






How do dates work in sas?

737


Describe crosslist option in tables statement?

824


What is the use of PROC gplot?

727


how can you put a "trace" in your program? : Sas programming

678


Can you execute macro within another macro? : sas-macro

623


explain about sas business intelligence? : Sas-bi

685


What is the difference between class statement and by statement in proc means?

759


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3208


Give an example where SAS fails to convert character value to numeric value automatically?

703


describe how to adjust the performance of data integrator? : Sas-di

648