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 are the differences between proc means and proc summary?
What are the different servers in sas? : sas-grid-administration
What are the different types of sas functions?
What are the limitations for memory allocation for SAS variables
What is the role of unrestrictive users? : sas-grid-administration
What is the length assigned to the target variable by the scan function?
What are the functions which are used for character handling functions?
How can sas program be validated?
How sas treats the dsd delimiters?
What is a macro routine?
what is operational data and operational system? : Sas-di
it will become easy if uuu provide website linkssss and list of consultanciessssss
What is the difference between reading data from an external file and reading data from an existing data set?
What are SAS/ACCESS and SAS/CONNECT?
how the sas basic syntax style described? : Sas-administrator