on 11-18-2014 4:11 PM
Hi experts,
I have a cc receiver file with 3 structures defined in content conversion :
TOP, FAMILY, SUBFAMILY
And as content conversion parameters :
TOP.fieldfixedLengths 11,8,8,5
TOP.endSeparator 'nl'
FAMILY.fieldfixedLengths 6,3,40
FAMILY.endSeparator 'nl'
SUBFAMILY.fieldfixedLengths 6,3,3,40
SUBFAMILY.endSeparator 'nl'
the Last fields of FAMILY and SUBFAMILY structures are truncated in my final file, blanks are removed. However I can see the blanks in my payload.
In my final file I have this :
And I want this :
How can I keep the final blanks at the end of each line ?
Thanks
Any other ideas ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you also maintaining the lengths in your Data type in ESR as suggested by Ryan Crosby
Hello,
Tell me one thing, where exactly you are viewing ur file? AL11?
AL11 normally truncate spaces which are there at the end...so, if you are dumping file in PI file system (or some mounted folder) then i would suggest to download file from the system (using winscp or take help of a basis guy) and then view the same in notepad++ editor.
Thanks
Amit Srivastava
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.