on 03-12-2008 9:52 PM
Hi,
Is it possible to read multiple files (each with single row) as one message without BPM by some configuration in channel?
For example:
input files placed simultaneously in input folder:
file1: a,b,c
file2: f,g,h
file3: k,l,m
after adapter picks files, xml message:
<Message_type>
<RecordSet>
<file>
<A>a</A>
<B>b</B>
<C>c</C>
</file>
<file>
<A>f</A>
<B>g</B>
<C>h</C>
</file>
<file>
<A>k</A>
<B>l</B>
<C>m</C>
</file>
</RecordSet>
</Message_type>
?
James,
I'm not understanding the reqmt. Do u want to merge all the three files to gether? Could you please shed some more info on the reqmt?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bond,
Yes Bond. You can read the pattern what you have given.
First Read the whole line in the file as one record. Now take the substring or write udf in mapping. This entirely depends upon your requirement.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the files has same number of columns or similar structure then try to give in the sender file adapter, the file name as' .' (with out quotes). If they are of same extension use *.xml or *.txt etc... . Can you again the post the target structure you want, the one you posted is little confusing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.