Have you ever linked SAS code? If so, describe the link and
any required statements used to either process the code or
the step itself.
Answers were Sorted based on User's Feedback
Answer / sathish
Answer is partially correct. We use %include to link code.
But %include is not a macro. Similarly %put is also not a macro.
| Is This Answer Correct ? | 2 Yes | 0 No |
what is function of retain statment
How to select the observations randomly from a SAS dataset
Do you need to rearrange the order of the data for the report?
What are the data types that sas contain?
how are numeric and character missing values represented internally? : Sas programming
The below code we are using for creating more than one macro variables in proc sql using into clause. How we can use same code to create macro variables vara, varb, varc instead of var1, var2, var3.? proc sql noprint; select count(distinct(patient)) into :var1 - :var3 from dataset1 group by trtreg1c ; quit;
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
Describe how you would pass data to macro.
What is the maximum length of the macro variable? : sas-macro
What are the statements that are executed only?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
What are SAS/ACCESS and SAS/CONNECT?