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 why double trailing @@ is used in input statement?
What are the different servers in sas? : sas-grid-administration
what versions of sas have you used (on which platforms)? : Sas programming
What are common programming errors committed in sas
Differences between where and if statement?
What are the scrubbing procedures in sas?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
explain the use of % includes a statement in sas? : Sas-administrator
How is character variable converted into numeric variable and vice versa?
What will calendar procedure do?
Define run-group processing?
what are the scrubbing procedures in sas? : Sas programming
what is the difference between floor and ceil functions in sas? : Sas-administrator
What are the features of base sas system?
In ARRAY processing, what does the DIM function do?