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
what are sas/access and sas/connect? : Sas programming
What are the uses of sas?
Compare sas with other data analytics tools.
Explain why double trailing @@ is used in input statement?
If a variable contains only numbers, can it be a character data type?
Tell me more about the parameters in macro? : sas-macro
for what purpose would you use the retain statement? : Sas programming
Give some ways by which you can define the variables to produce the summary report (using proc report)?
Which statement does not perform automatic conversions in comparisons?
how will you location sas platform applications available from web browser? : Sas-bi
what are sas bi dashboard components? : Sas-bi
Mention what is PROC in SAS?
What does the RUN statement do?
Name validation tools used in SAS
what are _numeric_ and _character_ and what do they do? : Sas programming