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
Describe the ways in which you can create a macro variable?
What is substr function?
Explain how you can debug and test your SAS program?
What is a put statement?
What is the use of function Proc summary?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
Define run-group processing?
where are dashboard components are created and maintained? : Sas-bi
What is the basic syntax of a sas program?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
: and & modifiers.
Which command is used to perform sorting in sas program?
is data integration and etl programming is same? : Sas-di
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Mention some common errors that are usually committed in sas programming.