on 04-25-2012 12:34 PM
Hi all,
I have a file receiver with content convesion running, but the first 2 lines of the file are empty lines.
I'm not printing header line, my parameters are:
endSeparator = 'nl'
addHeaderLine = 0
fieldFixedLengths = 1,9,4,2........................
fixedLengthTooShortHandling = Cut
I want my first line in the file is data line directly.
Any help?
Thanks!
Urtzi.
Hi,
This might be caused by your target structure:
<MT_MessageType>
<Field1>...</Field1>
<Field2>...</Field2>
<Structure1>...</Structure1>
...
</MT_MessageType>
Is your target structure like that? If so, this is a standard behaviour of receiver FCC. All the structures under MT_MessageType are properly converted into file lines. But all the fields that are not included into some structures, are converted to a single occurrence of the endSeparator (since PI also tries to convert them into file lines, as structures with no fields below). In your case, two "loose" fields create two new line characters, and then comes the rest of your structure.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I echo Grzegorz. The best solution will be for you to modify the structure or remove the mapping for the fields that you dont need to that they are not created in the output XML. Or else, add another mapping after your current mapping which will remove the unwanted fields from the XML.
Any specific reason you cant do this? If so, then module is the option that you have.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.