How to convert a given date value into SAS date
Answer Posted / ranjith
we can store date values using date format
(ex:date9.,ddmmyyyy10.)
Is This Answer Correct ? | 32 Yes | 3 No |
Post New Answer View All Answers
What are the data types does SAS contain?
What are types of transport files?
what do the pad and dim functions do? : Sas programming
Do you need to know if there are any missing values?
what is the basic structure sas administrator? : Sas-administrator
What is the difference between %local and %global? : sas-macro
What is the SAS data set?
explain about various caches available in data integrator? : Sas-di
what is snowflake schema? : Sas-di
If a variable contains only numbers, can it be a character data type?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
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.
What does PROC print, and PROC contents do?
If money were no object, what would you like to do?
what are sas bi dashboard components? : Sas-bi