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 purpose of _error_? : Sas programming

604


What is the purpose of trailing @ and @@? How do you use them?

605


what is data integration? : Sas-di

608


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

1840


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

644






why is sas considered self-documenting? : Sas programming

675


What is SAS? What are the functions does it performs?

727


What are the 3 components in sas programming?

719


how to do user inputs and command line arguments in sas?

2422


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

559


what is the function of catx syntax? : Sas-administrator

643


What versions of SAS have you used (on which platforms)?

1008


If money were no object, what would you like to do?

2682


Differences between where and if statement?

580


what is sas data set?

659