Hi I have a csv file needed to read in SAS. I struggled to read FATALITY_LOCATION (please see attachment) options LOCALE=en_AU; data fatalities; infile "/group/FATALITIES.csv" delimiter="," firstobs=2 dsd missover; input FATALITY_ID EVENT_ID FATALITY_TYPE$ FATALITY_DATE FATALITY_AGE FATALITY_SEX$ FATALITY_LOCATION$; informat FATALITY_ID EVENT_ID FATALITY_TYPE $10. FATALITY_DATE ddmmyy10. FATALITY_AGE FATALITY_SEX$ FATALITY_LOCATION $80.; format FATALITY_ID EVENT_ID FATALITY_TYPE $10. FATALITY_DATE date9. FATALITY_AGE FATALITY_SEX$ FATALITY_LOCATION $80.; run; But then it came out with error message stated below: ERROR 22-322: Expecting a format name. ERROR 76-322: Syntax error, statement will be ignored. How to read to Outside/Open Areas in SAS? Thanks in advance!!
... View more