what does .. meant in sas macros

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you convert basic cube to transaction cube and transaction cube to basic cube?

1782


Describe a time when you were really stuck on a problem and how you solved it?

2092


Name and describe few sas character functions that are used for data cleaning in brief.

677


How can I remove header from output data set?

2073


Tell e how how dealt with..

1779






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

641


Mention few capabilities of sas framework.

700


What is the difference between where and if statement?

630


What does PROC print, and PROC contents do?

737


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1331


what is proc Index? and what is proc document?

2001


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

1889


what is data integration? : Sas-di

622


Which command is used to perform sorting in sas program?

599


How do you control the number of observations and/or variables read or written?

760