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 |
what is the primary data source for the wrs? : Sas-bi
how sas deals with business intelligence? : Sas-bi
%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help
what is the difference between proc means and proc tabulate?
what is the difference btw proc means and proc univariate?
how can you put a "trace" in your program? : Sas programming
What are the analysis datasets created, and what are the new variables created in CLINICAL SAS
1 Answers Accenture, Sciformix,
what is the need of INDEX in datasets?
How would you include common or reuse to be processed along with your statements?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What is the purpose of the trailing and How would you use them?
What is maximum storage capability of SAS?