on 10-23-2009 11:03 AM
Hi
I am trying to load CSV file using FILE ADAPTER my fine strructure is :
BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#
BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#
BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#
AdminUnitDetails.fieldseparator ,
AdminUnitDetails.fieldNames a,b,c,d,e,f,g,h,i,j
AdminUnitDetails.endSeparator 'nl'
AdminUnitDetails.missingLastFields ignore
error i am getting is
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'AdminUnitDetails.fieldFixedLengths' or 'AdminUnitDetails.fieldSeparator' is missing Consistency check: no. of arguments in 'AdminUnitDetails.fieldFixedLength' does not match 'AdminUnitDetails.fieldNames' (0 <> 10)
Can some one help me
Babu
> AdminUnitDetails.fieldseparator ,
I guess this is typo error in field separator.
AdminUnitDetails.fieldSeparator ,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Babu,
exactly this problem with field separator. correct it..
Thanks
Sivaram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Babu,
Is there any fixed length for any Element in your Structure, If it there, Then we need add one more parameter called FieldFixedLength in the File conversion.
Thanks,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi Babu,
>
>
> Is there any fixed length for any Element in your Structure, If it there, Then we need add one more parameter called FieldFixedLength in the File conversion.
>
> Thanks,
> Sateesh
why would you want a fixed field in this use case?
the example shows clearly a comma separated file .
please correct the parameter to fieldSeparator
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.