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
what is data integration? : Sas-di
What are SAS/ACCESS and SAS/CONNECT?
Mention few capabilities of sas framework.
How would you define the end of a macro? : sas-macro
What are the table names in oracle database...?
what are the types of interactive display types? : Sas-bi
Explain proc sort?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
what is operational data and operational system? : Sas-di
what other sas products have you used and consider yourself proficient in using? : Sas programming
How is character variable converted into numeric variable and vice versa?
What does the RUN statement do?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
what are several options for creating reports in web report studio? : Sas-bi
what is broad cast agent? : Sas-bi