Getting the following warnings:
SRC_pharmacy_inputfile,0: Missing record delimiter "\r\n", saw EOF instead
SRC_pharmacy_inputfile,0: Import warning at record 48.
SRC_pharmacy_inputfile,0: Input buffer overrun at field "ADJCOD", at offset: 0
Tried the following properties:
Recod Delimiter = UNIX Newline
Record Delimiter String = DOS Format.
Neither helped
![Sad :(](./images/smilies/icon_sad.gif)
Tried rejecting the record - no change, as expected - the rejected record it empty. Don't want to demote the warning.
The file has a substitute character at the end (OCTAL = 032 / Hex = 1A) visible as sub in notepad++.
Tried sed 's/'`echo "\032"`'//g' filename in Exec Cmd activity before reading the file, as mentioned in one of the posts:
http://dsxchange.com/viewtopic.php?t=12 ... 4483455cf6
but I still get the warning and the character remains in the file. DS EE 8 is on Windows, so some might wonder why am I using sed? But in Execute Cmd Activity - ls, rm, mv all work - so I thought this should too.
Another interesting find:
If I change the Read Method = Specific File and set the FILTER property to sed - no warnings. But then I will have to loop through the files to read 'em all.
Even if I replace another character like 'a' with 'aa' or anything - there are no warnings. regardless of whether the file contains substitute character at the end.
Questions:
1. Is there a way to eliminate substitute character from the file before reading it with Read Method = File Pattern?
2. Why does Filter remove the warning even without replacing the substitute character?
Thanks