Posts

Es werden Posts vom September, 2020 angezeigt.

Sequential file stage does not output the entire line

Bild
Symptom A sequential file stage issues the following warning and reads records only incompletely. Import consumed only 13bytes of the record's 46 bytes (no further warnings will be generated from this partition) The number of bytes depends on the actual file. Cause I speculate that the codepage processing implementation is queer. I could not find a subproperty neither in the properties nor format tab to specify the codepage the file is expected in. But... Solution one can specify a Unicode codepage in the extend field of the columns of the columns tab.

Missing record delimiter "\n", saw EOF instead

Actually, this warning is quite simple to fix. Apparently, DS expects the last record of a file to terminate with the record delimiter in any case - maybe there is a setting to alter this behaviour but I did not deem worthwhile the effort to look for it. So the solution is just to terminate the file on a single empty line. Obviously, this case is for Unix like line breaks. The others delimiters are handled analogously.