on 07-23-2014 10:03 AM
Hi Fellow SDNer's
I have a broken pipe delimited flat file . I want to do file content conversion for the same .
Can you please help me with the parameters
I am on PO 7.4 dual stack
Thanks
Ninad Sane
Hi Ninad
You just have to specify the delimiter in the field separator parameter like below:-
<LineType>.fieldSeparator = <delimiter>
Example:-
Header.fieldSeparator = |
For more details on content conversion, you can search and find many examples on SCN.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niand,
What is the occurrence of the structure. Make sure that the neglected field with values to be as optional fields and try.
Follow the FCC like below:
<linetype>.fieldNames: <fieldnames>
<linetype>.keyFieldValue : <if any>
<linetype>.fieldSeparator : |
<linetype>.endSeparator : <ifrequired>
Hope this might help you...
Hi Ninad
It looks like the broken pipe character is outside the US-ASCII character set.
ASCII Code - The extended ASCII table
You can try using the ASCII character to see if it works or not:-
Header.fieldSeparator = '0xA6'
Check also the following thread that mentions the use of non US-ASCII character.
In particular, it mentions OSS note 1936206 - if you have the corrections in place, you can try using MessageTransformBean and specifying the encoding with the following additional parameter.
xml.fieldSeparator.encoding=ISO-8859-1
Rgds
Eng Swee
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.