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 good sas programming practices for processing large data sets?
Do you know the features of sas?
what is proc Index? and what is proc document?
How do you specify the number of iterations and specific condition within a single do loop?
How long can a macro variable be? A token? : sas-macro
What do you know about sas data set?
what is null hypothesis? why do you consider that?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Of all your work, where have you been the most successful?
what are input dataset and output dataset options? : Sas programming
How does proc sql work?
how do the in= variables improve the capability of a merge? : Sas programming
where are dashboard components are created and maintained? : Sas-bi
how to do user inputs and command line arguments in sas?
How can I remove header from output data set?