In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / poornima
To read the data with mar99 and mar1999, we use eurdfmyw.
informat.
This informat is used to read the data with only month and
year.
eg:
data m;
input n date eurdfmy7.;
format date eurdfmy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;
proc print data=m;
run;
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
how does sas handle missing values in sort order? : Sas programming
What are the special input delimiters used in SAS?
where to use sas business intelligence? : Sas-bi
name the scheduler for scheduling job and explain the scheduler? : Sas-di
Why and when do you use proc sql?
Name types of category in which SAS Informats are placed?
How would you determine the number of missing or nonmissing values in computations?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
What areas of SAS are you most interested in?
What do you code to create a macro? : sas-macro
Approximately what date is represented by the SAS date value of 730?
name some data transformation used in sas di? : Sas-di
What is by-group processing?
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
do you need to know if there are any missing values? : Sas programming