I have a data set in a file that is separated with commas, missing data is simply left blank, and is made of characters and numbers. I need to read the data file into SAS and print the data set, but I believe the commas and missing data is not being read into SAS properly. I have attached a photo of the data set, the code I used, and the table SAS generated. How do I fix the code to read the data properly? Code: DATA BenAndJerrys; INFILE 'C:\Users\165\Downloads\BenAndJerrys.dat'; INPUT FlavorName $ PortionSize Calories CaloriesFromFat Fat SaturatedFat TransFat Cholesterol Sodium TotalCarbohydrates DietaryFiber Sugars Proteins YearIntroduced YearRetired ContentDescription $ Notes $ ; PROC PRINT; RUN;
... View more