on 2007 Jul 09 2:25 PM
Hi well my Input i as follows:
7283167S500481000000001789098
whereas my FCC in Sender-CC FTP is like:
RecordSet-Name: BestfileRecordSet
PecordSetStructure: BestFileHeader,,BestFilePos,
Recordsets per Mesage: *
KeyfieldName: BDART
BestFileHeader.fieldNames=BDKDNR,BDDSKNR,BDART
BestFileHeader.fieldFixedLenghts=4,3,1
BestFileHeader.endSeparator= 'nl'
BestFileHeader.processFieldNames= fromConfiguration
BestFileHeader.keyFieldValue=T
BestFilePos.fieldNames= BDART,BDIDENT,BDMENGE,BDFREMD
BestFilePos.fieldFixedLenghts= 1,8,7,10
BestFilePos.endSeparator= 'nl'
BestFilePos.processFieldNames= fromConfiguration
BestFilePos.keyFieldValue = S
BestfileRecordSet.endSeparator='nl'
In CC-Monitoring i get:
java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'BestFileHeader.fieldFixedLengths' or 'BestFileHeader.fieldSeparator' is missing Consistency check: no. of arguments in 'BestFileHeader.fieldFixedLength' does not match 'BestFileHeader.fieldNames' (0 <> 3)
so what is wrong?! Can sb help me?!
br Jens
Hi Jens,
Did you check the spelling BestFileHeader.fieldFixedLeng<b>hts</b> and BestFilePos.fieldFixedLeng<b>hts</b>. It should be fieldFixedLeng<b>ths</b>.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the endSeparator is 'nl' , but in your case in the sample file there is no new line for every record.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jens,
Did you copied those Parameters from Configuration and pasted here? If yes please check the spelling for
BestFileHeader.fieldFixed<b>Lenghts</b>
BestFilePos.fieldFixed<b>Lenghts</b>
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jens,
I think Raj has pointed a right point to you and did not intend to cause any offence. I do hope you appeciate the fact that there are people who genuinely want to help and are not doing this for the sake of the points.atleast Raj is not looking hear for cheap points,
I see no reason that you should taken offense at his answer as well.
Regards
Bhavesh
Guys i never wanted to be offence. Thats just kind of pointing out in my native language (german) that i can't see the tree's in the Wood. So i am still not able to solve my problem!
i really appreaciate the help of the forum, especially from u two who helped me a lot in the past view months!
br Jens
Hi Guru, i would appreciate your help. Well the data in input-structure looks like:
7283167TCARTON
7283167T
7283167S014800000000010
7283167S015823030000004
7283167S016352100000040
7283167S016792020000007
7283167S016793020000007
7283167S031502020000010
etc.
Problem is also that instead of T (header) and S (Position) there might be L,D (also for Position). Therefore i have no clue how to handle these values as keyfieldValues.
some ideas?! br Jens
@Jai: well thanks for the hint because of the spelling!!
> Hi Jen,
>
> For L & D just modify the recordSet Structure
> including keyvalues as L and D with name like u gave
> Header etc It will be same.Just ensure that
> occurence is correct
>
> Regards
@Amit
You mean in Designtime i should add position(elements) in the source target-Structure?! After this i have to add the FCC-parameters! is this the way u suggest?!
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.