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
Describe a time when you were really stuck on a problem and how you solved it?
What is run-group processing?
for whom is sas data integration studio designed? : Sas-di
Given an unsorted data set, how to read the last observation to a new data set?
Explain input and put function?
What can be the size of largest dataset in SAS?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What are the special input delimiters used in SAS?
what is data governance? : Sas-di
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
What is the use of divide function?
What is the basic structure of the SAS base program?
What is the work of tranwrd function?
List down the reasons for choosing sas over other data analytics tools.