DLM = delimiter = char that separates variables
termstr = separator between obs
Without having termstr in the infile-statement, sas uses the default depending on the os sas runs on.
It seems as if dlm = " '0D'x, '0A'x " is processed correctly, because in the background termstr=LF is still active.
I think the only way to solve the problem is by adding a parameter to the macro that is used in termstr later on.
One could, of course, try to read the file with one termstr-option active and check the number of lines read. Then change the option and re-read the file again.
... View more