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


Please Help Members By Posting Answers For Below Questions

What are the differences between proc means and proc summary?

605


What are the different servers in sas? : sas-grid-administration

605


What are the different types of sas functions?

614


What are the limitations for memory allocation for SAS variables

934


What is the role of unrestrictive users? : sas-grid-administration

577






What is the length assigned to the target variable by the scan function?

679


What are the functions which are used for character handling functions?

620


How can sas program be validated?

581


How sas treats the dsd delimiters?

726


What is a macro routine?

2106


what is operational data and operational system? : Sas-di

637


it will become easy if uuu provide website linkssss and list of consultanciessssss

1538


What is the difference between reading data from an external file and reading data from an existing data set?

641


What are SAS/ACCESS and SAS/CONNECT?

636


how the sas basic syntax style described? : Sas-administrator

609