what is intially documentation in sas?
Answer / jhansi
when SAS dataset is created, it automatically creats the
descriptor portion and detail portion of the dataset.the
Descriptor portion contains details like name of the
datset, no of observations , no of variables,when the
dataset was created etc.This is called documentation is SAS
| Is This Answer Correct ? | 5 Yes | 0 No |
In a shcool there are 1000 students. After completion of every test in 6 subjects , each subject teacher submit the marks of every student at different times and loaded in the database commonly. How will you seperate the top two subject marks for each each studet using SAS?
/* 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;
Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT
what is SAS/Access and SAS/Connect?what are the uses?
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
What are the table names in oracle database...?
is QUALCOMM using SAS ?
Give some examples where proc report’s defaults are same as proc print’s defaults?
Of all your work, where have you been the most successful?
what is OLAP?
proc means? proc sort? proc append? proc freq? proc print? proc content?
What is substr function?