1.we can execute a macro with in a macro,by using call
symput and symget can any one give me one example?
2.We can create the macro variables by using %let,%do,macro
parameters,INTO clause in proc sql and call symput, can
any one give me example to create macro variable with INTO
clause and call symput?
3.
Answer / aravind9882
data x;
a=98;
b=45;
call symput('m',a);
run;
%put &m;
proc sql;
select b into :m2 from x;
quit;
%put &m2;
Is This Answer Correct ? | 4 Yes | 0 No |
How would you create multiple observations from a single observation?
Please write codes to merge two datasets and keep every record in the first dataset.
Can you suggest us materials for sdtm mapping?
What does proc print, and proc contents are used for?
How do you put a giraffe into the refrigerator?
Do you prefer Proc Report or Proc Tabulate? Why?
how to do user inputs and command line arguments in sas?
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
What function CATX syntax does?
what is washout period?
What are the implications?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming