on 06-26-2007 1:25 PM
hi
i want to know that how we will do a scenario in which on the basis of repetion of one field we have to create a new file.
Hi Rinku,
in target data type put the cardinality of target node as 1..1 , then in interface mapping, change the occurance of target msg interface to 0..unbounded , then in msg mapping take the repetitive field and then use exists and creatif functions and then output it to the topmost node..........create a UDF and dynamically generate filename in it and map the output of the UDF to the second topmost msg node.............then on repetition of source node multiple target file will be generated.
Thanks,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the mapping; the repetitive field will be mapped to the root node of the target file; so with each occurance of the field the root node will be triggered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see such a scenario feasible by using "Adapter module" in the receiver adapter
Perhaps there are other options too
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.