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
explain the concepts and capabilities of business object? : Sas-bi
what is information maps?
what are sas bi dashboard components? : Sas-bi
How do you delete duplicate observations in sas?
What is a method to debug and test your SAS program?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
describe how to adjust the performance of data integrator? : Sas-di
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
How to create a permanent sas data set?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Differentiate between proc means and proc summary.
What are the default statistics for means procedure?
Explain the difference between using drop = data set option in set and data statement?
what is broad cast agent? : Sas-bi
What is the role of unrestrictive users? : sas-grid-administration