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 purpose of _error_? : Sas programming
What is the purpose of trailing @ and @@? How do you use them?
what is data integration? : Sas-di
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
why is sas considered self-documenting? : Sas programming
What is SAS? What are the functions does it performs?
What are the 3 components in sas programming?
how to do user inputs and command line arguments in sas?
describe how to adjust the performance of data integrator? : Sas-di
what is the function of catx syntax? : Sas-administrator
What versions of SAS have you used (on which platforms)?
If money were no object, what would you like to do?
Differences between where and if statement?
what is sas data set?