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
How to create list output for cross-tabulations in proc freq?
what is sas application server? : Sas-di
Explain proc univariate?
What is program data vector (pdv) and what are its functions?
What are the scrubbing procedures in sas?
What are SAS/ACCESS and SAS/CONNECT?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
What is the basic syntax style in SAS?
How you can read the variables that you need?
what are input dataset and output dataset options? : Sas programming
How would you invoke a macro? : sas-macro
Hi, If anyone has base SAS certification dumps, please share.
how does sas handle missing values in assignment statements? : Sas programming
what is the function of catx syntax? : Sas-administrator
where to use sas business intelligence? : Sas-bi