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 |
Mention how to limit decimal places for the variable using proc means?
Enlist the functions performed by sas.
What are the different versions of sas that you have used until now? : sas-grid-administration
what is factor analysis? : Sas-administrator
What is the use of PROC gplot?
What is the order of evaluation of the comparison && logical && relational operators:?
What is the difference between nodup and nodupkey options?
20 Answers iFlex, Makro, Talwar,
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
what are validation tools that are used in sas? : Sas-administrator
what is program data vector? : Sas-administrator
Are you familiar with special input delimiters? How are they used?