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
which date functions advances a date time or date/time value by a given interval? : Sas programming
Describe the ways in which you can create a macro variable?
what do you mean by data staging area? : Sas-di
Difference between nodup and nodupkey options?
what is sas business intelligence? : Sas-bi
What is the difference between using drop = data set option in data statement and set statement?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
how do you debug and test your sas programs? : Sas programming
which date function advances a date, time or datetime value by a given interval? : Sas programming
Explain bmdp procedure?
What is the basic syntax style in SAS?
What are all the problems you faced while validating tables and reports?
Do you need to rearrange the order of the data for the report?
how can you create zero observation dataset? : Sas programming
how sas deals with business intelligence? : Sas-bi