In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / chiranjeevi
data code;
input name$ dob monyy7.;
cards;
a mar99
b mar1999
run;
proc print data=code;
format dob monyy7.;
run;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How do dates work in sas?
Differentiate between format and informat? : sas-grid-administration
what are the types of interactive display types? : Sas-bi
how many types prompting framework can be broken down to? : Sas-bi
What is the difference between proportion and average?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
how does sas handle missing values in functions? : Sas programming
what is star schema? : Sas-di
Enlist the syntax rules followed in sas statements.
What is the difference between one to one merge and match merge? Give an example.
for what purpose would you use the retain statement? : Sas programming
How would you identify a macro variable?
What is the difference between order and group variable in proc report?
How do you delete duplicate observations in sas?
Explain why double trailing @@ is used in input statement?