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 does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
Differentiate between sas functions and sas procedures.
Name and describe few sas character functions that are used for data cleaning in brief.
What are the applications primarily used by business analyst? : Sas-bi
How can sas program be validated?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
Do you need to rearrange the order of the data for the report?
Briefly explain input and put function?
What are common programming errors committed in sas
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
What do you know about sas data set?
what is the difference between nodup and nodupkey options? : Sas programming
Describe a time when you were really stuck on a problem and how you solved it?
What would you change about your job?
explain the proc in sas? : Sas-administrator