In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / shaik
data m;
input n date monyy7.;
format date monyy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;
we will get output;
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between input and infile statement?
How to limit decimal places for the variable using proc means?
List out some key concept of SAS
How do you delete duplicate observations in sas?
Can you explain the process of calendar?
Explain why double trailing @@ is used in input statement?
What is the use of stop statement?
Name some categories in sas 9? : sas-grid-administration
what are _numeric_ and _character_ and what do they do? : Sas programming
what are validation tools that are used in sas? : Sas-administrator
How to convert a numeric variable to a character variable?
Explain what is data step?
what is the difference between floor and ceil functions in sas? : Sas-administrator
what is sas metadata server? : Sas-di
In sas admin differentiate between roles and capabilities? : sas-grid-administration