on 10-01-2012 11:12 AM
Hi Group,
In one of the requirements I am generating file name in mapping by using extra node in target structure,in ID using variable substitution I am passing node to generate file name,but extra blank line is creating at the end of file,when I search on SCN I found couple of post on this issue but not finding any relevant answer,here i am attaching node and ID config parameters,please can any body suggest.
ESR Target Node:
------------------------
File
Name
ID Parameters
------------------------------
File.fieldFixedLengths 0
File.fixedLengthTooShorHandling Cut
File.endSeparator 0
Variable Substitution
------------------------------
var payload:MT_app11,1,File,1,Name,1
File Name Scheme
------------------------------
%var%.csv
Hi Rajiv,
One of the parameters have a mistake in the name:
fixedLengthTooShortHandling Cut
Try it putting the 't'
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rajiv,
Can you provide the target expected format or sample data.
The configuration that you provided,
File.fieldFixedLengths 0 - field length is '0' provide the appropriate value
File.fixedLengthTooShorHandling Cut - Correct
File.endSeparator 0 - is your end Separator is '0'
Keep the file content conversion in the below order and check:
File.fieldFixedLengths
File.endSeparator
File.fixedLengthTooShorHandling
This should work.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajiv,
did you try with property in File adapter "lastFieldOptional" is "TRUE"
and make file name as last field
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajiv,
Can you try with,
File.endSeparator '0'
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.