what does .. meant in sas macros

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


Please Help Members By Posting Answers For Below Questions

how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

580


Differentiate between sas functions and sas procedures.

626


Name and describe few sas character functions that are used for data cleaning in brief.

648


What are the applications primarily used by business analyst? : Sas-bi

536


How can sas program be validated?

562






In sas admin differentiate between roles and capabilities? : sas-grid-administration

545


Do you need to rearrange the order of the data for the report?

1821


Briefly explain input and put function?

613


What are common programming errors committed in sas

653


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?

1754


What do you know about sas data set?

578


what is the difference between nodup and nodupkey options? : Sas programming

605


Describe a time when you were really stuck on a problem and how you solved it?

2193


What would you change about your job?

1911


explain the proc in sas? : Sas-administrator

600