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 would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
Mention what is PROC in SAS?
describe about physical data integration? : Sas-di
Differentiate between ceil and floor functions.
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
which date function advances a date, time or datetime value by a given interval? : Sas programming
What is PDV?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
How to convert a numeric variable to a character variable?
where are dashboard components are created and maintained? : Sas-bi
what is transformation in sas data integration? : Sas-di
What are the statements that are executed only?
What is substr function?
Describe 5 ways to do a “table lookup” in SAS?
What are the data types does SAS contain?