on 04-28-2006 8:43 AM
Hy,
have the following situation: with a sender File adpater i have to receive the same structure of data but in two mode.
1) First mode : each recorset is defined as a file line
Example (not fields separator):
fielda,fieldb,fieldc
field2a,field2b,field2c
2) Second mode : recorset of the same line without end
separator and fieldseparator
Example (not fields separator):
fielda,fieldb,fieldc,field2a,field2b,field2c,......
I configured the adapter as follow.
structure.fieldFixedLengths 1,2,3
structure.fieldNames field1,field2,field3
structure.lastFieldsOptional YES
structure.processFieldNames fromConfiguration
structure.endSeparator 'nl'
PROBLEM
Mode 1) works but mode 2) doesn't work.
Could anyone solve my problem??
Thank's
Mati
Hi,
Try using two differnt record structure name for each mode.for eg give it as structure1 and structure2.then u give the content conversion parameter for both the recordset depending on ur requirement i.e, with and without end seperator.
regards
jithesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do you mean by mode?Did u configure two adapters or one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please paste the error from RWB in the adapter monitoring?Is the CC happening and were u able to see messages?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.