what does .. meant in sas macros
Answers were Sorted based on User's Feedback
Answer / arun & g.n.rao
In macros two dots (..) are used to call a library if it is
declared as a macro.
IF YOUR USING A SINGLE DOT i.e SCOTT.EMP YOU WONT GET ANY
OUTPUT AND THE ERROR OCCURED IS WORK.SCOTTEMP DOES NOT EXIST
SO WE SHOULD USE TWO DOTS WHEN CALLING A LIB NAME AS A MACRO
%LET A=SCOTT /*LIBRARY NAME*/
PROC PRINT DATA=&A..EMP;
RUN;
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / gangadhar
to the above answer i add little .. is used for libref and
one . for compiler and another for macro variable.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / velppuula shathish
data Sd;
set ds nobs=x;
if _N_>=20;
RUN;
proc print data=sd;
run;
Is This Answer Correct ? | 0 Yes | 0 No |
Explain the message 'Merge has one or more datasets with repeats of by variables'.
why a stop statement is needed for the point= option on a set statement?
What is the difference between Proc tabulate and Proc print
what are all the default values getting in PROC MEANS...???
what techniques and/or procs do you use for tables? : Sas programming
How would you code a macro statement to produce information on the SAS log? This statement can be coded anywhere.
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
How would you delete observations with duplicate keys?
what is sas business intelligence? : Sas-bi
What are the criticality that you have faced during your project in SAS?
how are numeric and character missing values represented internally? : Sas programming
which features do you use to check the data validations and errors? : Sas-administrator