I'm trying to import data from .txt file. 2 columns are of length 9.19 and 5.8 in the source file; But in SAS when I write a FORMAT with 9.19 and 5.8, it errors out stating "decimal specification must be less than the width specification". Can you please help. Thank you! data temp; infile "/directory/sample.txt" delimiter = '|' MISSOVER DSD lrecl=32767 firstobs=2 ; INPUT VAR1 :10. VAR2 :6. ; FORMAT VAR1 9.19 VAR2 5.8 ; run ; Thank you!
... View more