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 will you locate the sas platform applications? : Sas-bi
How do you delete duplicate observations in sas?
What is the role of sas grid administrator? : sas-grid-administration
Explain bmdp procedure?
If money were no object, what would you like to do?
Differentiate between sas functions and sas procedures.
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
why is a stop statement needed for the point=option on a set statement? : Sas programming
Give e an example of..
Mention what is SAS data set?
How can you limit the variables written to output dataset in data step?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What are the data types does SAS contain?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
explain about various caches available in data integrator? : Sas-di