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
How do you convert basic cube to transaction cube and transaction cube to basic cube?
Describe a time when you were really stuck on a problem and how you solved it?
Name and describe few sas character functions that are used for data cleaning in brief.
How can I remove header from output data set?
Tell e how how dealt with..
how does sas handle missing values in procs? : Sas programming
Mention few capabilities of sas framework.
What is the difference between where and if statement?
What does PROC print, and PROC contents do?
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
what is proc Index? and what is proc document?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
what is data integration? : Sas-di
Which command is used to perform sorting in sas program?
How do you control the number of observations and/or variables read or written?