In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / ok
In SAS v9 you can try the ANYDTDTEw. Informat
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
what is information maps?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
what are _numeric_ and _character_ and what do they do? : Sas programming
How would you identify a macro variable?
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are the difficulties u faced while doing vital signs table or dataset?
How you can read the variables that you need?
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?
How do dates work in sas?
What is the use of the %include statement?
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
why is sas considered self-documenting? : Sas programming
Why double trailing @@ is used in input statement?
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 does sas handle missing values in sort order? : Sas programming