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 the functions which are used for character handling functions?
How do you debug and test your SAS programs?
Which command is used to save logs in the external file?
What are the advantages of using sas?
: and & modifiers.
explain about data integrator metadata reports? : Sas-di
How we can create SAS USER DEFINED CODE?
how would you create multiple observations from a single observation? : Sas programming
how do you test for missing values? : Sas programming
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
What is your favorite all time computer book? Why?
What is the difference between %local and %global? : sas-macro
where to use sas business intelligence? : Sas-bi
explain the key concept of sas? : Sas-administrator
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?