Show TOC

EspDelimitedStringReaderLocate this document in the navigation structure

The EspDelimitedStringReader component handles delimited (for example, comma separated) messages. You can use it to send incorrect records to a bad record file.

DOStringReader=com.sybase.esp.adapter.dostrings.EspDelimitedStringReader
Property Description
BadRecordLoggerName (Optional) Name of the logger responsible for writing bad records. The behavior depends on the implementation. If you provide a name, also provide the implementation class. If you leave this property blank, the adapter warns only about bad records, and the original message is lost.
<BadRecordLoggerName>.ClassName - Logger implementation.
EmptyStringAsNull (Optional) If set to true, empty string values are translated to null values. For example:
NULL
If the input record contains:
A,B,NULL,D
Then the resulting field values is:
A, B,{null},D
FieldDelimiter (Default required) Character number for a single-character field delimiter. Use either "uXXXX" for a hexadecimal unicode value, or "DDD" for a decimal ASCII value. Use this property if the field is a nonprintable or whitespace character (for example, "space", "tab", or "null"). The default delimiter is the comma (ASCII 44).
NullString (Optional) A string, which if encountered as a field value, causes the adapter to insert a null string in the resulting message for this field.
StripQuotes (Optional) If set to true and a field is "quoted", the quote characters are stripped from the beginning and end of the field value. Default value is true.