Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between %put and symbolgen?

Answers were Sorted based on User's Feedback



what is the difference between %put and symbolgen?..

Answer / mallikarjuna reddy.vanna

besides all the above answers, we can also say that by using
%put we can get values of specified macro variables, where
as by using symbolgen we can get the values of all the macro
variables with in a program.
%put is a macro language program statement, like %put and
%macro. symbolgen is an option.

Is This Answer Correct ?    12 Yes 0 No

what is the difference between %put and symbolgen?..

Answer / 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

what is the difference between %put and symbolgen?..

Answer / rajaanku11

%put is used to display user defined messages on log window
after execution of a prog where as

%symbolgen is used to print the value of a macro variable
resolved, on log window

Is This Answer Correct ?    5 Yes 3 No

what is the difference between %put and symbolgen?..

Answer / rajaanku11

In addition to the above answer,we can add one more sentence
to the %put.

%put is also used to print the macrovariables(automatic or
user defined or all) values on log.

Is This Answer Correct ?    3 Yes 1 No

what is the difference between %put and symbolgen?..

Answer / cutepa1

Mallikarjun is exactly correct that symbolgen is just an
option and cant be used within statements.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between %put and symbolgen?..

Answer / d.s

options symbolgen could cause problems sometimes.
%macro m(x);
options symbolgen;
%let x=%eval(&x+1);
&x
%mend;
%put NOTE:***x=%m(1)***;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?

3 Answers  


what is the difference between informat$8. $char8.

3 Answers   SAS,


i have a dataset with 25 obs; 10th obs has like ramu,anji,ramu,azad,ramu like this. i want to know how many times the word repeats in that obs?

3 Answers  


Can you suggest us materials for sdtm mapping?

0 Answers   TCS,


How we will Developing new reports Using Data step programming and Macros ?

4 Answers  


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


How would you code a merge that will keep only the observations that have matches from both sets?

5 Answers  


where to use sas business intelligence? : Sas-bi

0 Answers  


how do you test for missing values? : Sas programming

0 Answers  


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

0 Answers  


what is the use of proc sql?

5 Answers   CitiGroup,


what is the difference between infile and input? : Sas-administrator

0 Answers  


Categories