on 07-18-2008 7:20 AM
hi,
only one record data is given
ex: 123prlree2345sdrljlf.
is it possible to send this data into xi &
mapp with header, body,trailer ?
thanks in advance.
Hi,
Yes u can do it in message mapping,
U have substring option if u know the string lenght then u can do this.
u can write the UDF for spliting the string into header,boby and footer part.
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A small doubt.
on wat condition should the record be spliited?if any pls specify?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What you can do is - read the record in a single row using file content conversion and in you message mapping you can map it accordingly using substring() function. You can use two-step mapping if required. i.e. first mapping to convert single node to multiple nodes (header, data. trailer) and second mapping to do your actual mapping.
Hope this helps.
Regards,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can u clarify your question??
If you passed a single line txt file then using FCC we can able to convert the record according to fields.
Like your recuirement Header,Body,Trailer.
*Reward Points If Useful*
Regards,
Prakasu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
using UDF you can split the string and do this.
Thanks,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.