what does .. meant in sas macros

Answers were Sorted based on User's Feedback



what does .. meant in sas macros..

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

what does .. meant in sas macros..

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

what does .. meant in sas macros..

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

Post New Answer

More SAS Interview Questions

Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com

0 Answers  


in ods is there any lib's

2 Answers   SAS,


What sas features do you use to check errors and data validation?

1 Answers  


why is sas data integration studio important? : Sas-di

1 Answers  


Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.

2 Answers  


What makes sas stand out to be the best over other data analytics tools?

1 Answers  


What is the difference between a PROC step and a DATA step?

14 Answers   Accenture, HSBC,


why a stop statement is needed for the point= option on a set statement?

1 Answers  


How do you delete duplicate observations in sas?

1 Answers  


What is the difference between the proc sql and data step?

1 Answers  


what is the basic structure sas administrator? : Sas-administrator

1 Answers  


What is the good sas programming practices for processing large data sets?

1 Answers  


Categories