How do I read dates into a SAS data set from a data file having two columns for years, two columns for the month, and two columns for the date--all adjacent to one another?
Your data arrangement is already consistent with that needed to use one of the SAS date informats. Thus in the DATA step's INPUT statement, you need only associate the six date columns with the SAS date informat of the form:
INPUT birthday yymmdd6. ;
For more information, click on the Help button in the SAS menu bar and scroll to SAS Help and Documentation.
If you have further questions, send E-mail to stats@ssc.utexas.edu.