on 06-03-2014 6:52 PM
Since it is xml in the source i think you have to use multimapping. for having filename in the target based on the number of records like 1,2,3, you need to use UDF/std function to generate the number and map it to target.at the end use variable substitution.
but this is going to have extra field on the target side.
else you have to use below approach to make use of DC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ziaur,
Yes , we can do this in 2 ways,
1. Using File content conversion (FCC) in sender communication channel .
2. In message Mapping , change Target side occurrence to 0 to unbounded.
Thanks
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ziaur,
This will be done through multi-mapping , just change the occurrence of the message mapping target structure and Operation mapping structure as shown below ,
Message Mapping :
then your message will look like as below ,
Map Messages and Messages1 with constant and make sure MT_* (your message type structure will repeat as per your requirement ). And Test with sample XML and you should get multiple MT_* segment in target .
Operation Mapping :
Note : While doing end to end testing , no need to mention messages and message1 segment in Source XML file.
Thanks
Hari.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.