Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what does .. meant in sas macros

Answers were Sorted based on User's Feedback



what does .. meant in sas macros..

Answer / 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

what does .. meant in sas macros..

Answer / gangadhar

to the above answer i add little .. is used for libref and
one . for compiler and another for macro variable.

Is This Answer Correct ?    8 Yes 2 No

what does .. meant in sas macros..

Answer / velppuula shathish

data Sd;
set ds nobs=x;
if _N_>=20;
RUN;

proc print data=sd;
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

What is slibref?

0 Answers  


Can you execute a macro within a macro? Describe. : sas-macro

0 Answers  


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


Hi, I need to create a SAS Map of USA using SAS Graphs(Proc Gmap).The data i have dosent contain any co-ordinates of USA cities or counties or states, and the zip codes are diffrent in the data i have from the zip code in the Maps.US dataset in the Maps Library for SAS MAPS. the data i have is a sales report. i have to generate the maps according to the states,cities aligned in the sales data, HELP Appriciated

1 Answers  


Explain data_null_?

0 Answers  


IS SAS COMPILER OR INTERPRETER? EXPLAIN?

3 Answers   Aon Hewitt, HSBC, SCL, TCS,


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

0 Answers   Oracle,


How to limit decimal places for the variable using proc means?

0 Answers  


In which format does Date stores in sas..? What is the use of DATE in SAS.?

3 Answers   TCS,


what is the use of proc sql?

5 Answers   CitiGroup,


Name the option to produce a frequency line items rather that a table.

2 Answers  


What is difference between sas rename and lable?

4 Answers  


Categories