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...


In the following DATA step, what is needed for ‘fraction’ to
print to the log? data _null_; x=1/3; if x=.3333 then put
‘fraction’; run;



In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1..

Answer / henry

data precise;
x=1/3;
if round(x,0.0001)=.3333 then put 'fraction';
else put 'not fraction';
run;

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More SAS Interview Questions

I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.

1 Answers  


if you have 365 no of data set and each one having different variable from each other. how will you read by creating macros and create a single data set.

2 Answers  


what is option year cuttoff in sas

2 Answers   L&T,


what is sas olap server? : Sas-di

0 Answers  


How we can create SAS USER DEFINED CODE?

0 Answers  


What is a macro routine?

0 Answers  


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

0 Answers   Quintiles,


What is SAS? is it a software just for use or we can creat something over there?

5 Answers   Cognizant,


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

0 Answers  


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK

1 Answers   IBM, SAS,


how does sas handle missing values in an update? : Sas programming

1 Answers  


Categories