What do you code to create a macro? : sas-macro


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SAS Interview Questions

Differentiate between format and informat? : sas-grid-administration

0 Answers  


What are common programming errors committed in sas

0 Answers  


how would you determine the number of missing or nonmissing values in computations? : Sas programming

0 Answers  


In PROC PRINT, can you print only variables that begin with the letter “A”?

8 Answers  


/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;

1 Answers   Emerio,


What is program data vector (pdv)?

0 Answers  


What is difference between (a-z) and (a--z)

8 Answers   Accenture,


what are the advantages of using SAS in clinical data mangement? why should not we use other software products in managing clinical data?

2 Answers   Wockhardt,


Which is the Best SAS training Institute in Delhi NCR for SAS certification preparation

1 Answers   SAS,


How can I remove header from output data set?

0 Answers  


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

0 Answers  


how do you read binary data in sas?

3 Answers   Satyam,


Categories