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 |
how many display types available in sas bi dashboard? : Sas-bi
for whom is sas data integration studio designed? : Sas-di
what is the diff. b/w proc means and proc summary?
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
what is sas application server? : Sas-di
What is the length assigned to the target variable by the scan function?
what r the job openings SAS for fresher graduates !
Name statements that are recognized at compile time only?
for what purpose would you use the retain statement? : Sas programming
Explain by-group processing?
What is the difference between %local and %global?
Describe a time when you were really stuck on a problem and how you solved it?