Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What are the joins,types of joins and thier functions?

7 Answers   SAS,


what is intially documentation in sas?

1 Answers   Accenture,


if x=round(26.3,10)-1 then x= how much and how explain?

5 Answers   BoA,


Do you need to rearrange the order of the data for the report?

0 Answers  


What is slibref?

0 Answers  






What system options would you use to help debug a macro? : sas-macro

0 Answers  


what is the primary variable in your study?

3 Answers   Accenture,


What are the different types of sas functions?

0 Answers  


Explain translate function?

0 Answers  


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1 Answers   Pfizer,


how does sas handle missing values in procs? : Sas programming

0 Answers  


what does the run statement do? : Sas programming

0 Answers  


Categories