How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?
Answer Posted / vineeta
The date will be stored as the number of days since January
1,1960. Internally SAS stores dates as no. of days hence it
becomes a numeric value on which computations can be done.
Use a date informat to read the date eg. DATE9. and u will
get the number of days in the output dataset.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
how can you put a "trace" in your program? : Sas programming
explain about data integrator metadata reports? : Sas-di
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
Explain the special input delimiters used in sas programming.
Difference between SAS STATA & SPSS?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Mention the difference between ceil and floor functions in sas?
What makes sas stand out to be the best over other data analytics tools?
What are the advantages of using sas?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
How do you connect the desktop application to metadata server? : sas-grid-administration
List down the reasons for choosing sas over other data analytics tools.
Can you execute macro within another macro? : sas-macro