I am reading from a csv file into SAS. The data set to create is IowaResidents into the HypImpt library. All observations are displaying in SAS as they should except for the BirthDt observations. I am only output one digit per BirthDt observation. I was hoping it would output in the format MMDDYY10. However, it does not. Only one single digit is seen in the Results window per BirthDt. Please help. What is wrong with my code please? LIBNAME HypImpt "/home/u59445223/BIOS 6680/Hypertension Study/Data/2_Import"; DATA HypImpt.IowaResidents; INFILE"/home/u59445223/BIOS6680/Hypertension Study/Data/1_Source/IowaResidents.csv" DSD; INPUT SSN :$11. Initials :$4. City :$20. State :$4. ZipCd Sex :$6. Ethnicity :$12. Race :$5. BirthDt MMDDYY10.; FormattedDate = BirthDt; FORMAT FormattedDate MMDDYY10.; Format BirthDt MMDDYY10.; RUN; PROC CONTENTS DATA= HypImpt.IowaResidents order=varnum; RUN; PROC PRINT DATA = HypImpt.IowaResidents; LIBNAME HypImpt CLEAR; RUN;
... View more