I'm trying to get sas to read an ascii text file with records of variable length separated by blank lines (1 blank line between each record). I simply want to create a 1-column dataset of all records. The problem is that each record consists of many lines broken by carriage returns. I have tried variations of the following to no avail:
data raw;
infile 'c:\mydata.txt' truncover lrecl=99999 dlm='0D0D'X;
input raw $char9999.;
run;
Any ideas appreciated!
... View more