on 12-06-2011 10:33 AM
Hi Gurus,
I have to create a single file for each record in the table. My scenario is i have to get the details of the student from the table based on the class and then i have to create a file for each student. how can i acehieve this.
The input is file contains class names for ex. 1,2,3,4..
I am fetching the student details from the table based on this class names. i have done this in the UDF.
Now my output contains multiple nodes which has each node for each student. How can i create a file for each student.
My output format is
MT_Student_Details
Student_Det
Student
Name: Ragu
Mark: 90
Student
Name: Ragul
Mark: 80
Like this..
I have explained the scenario. Kindly help me to resolve this
Regards,
Ramalakshmi.G
Hi,
Change the occurance of the target structure to 0...Unbounded. After that your message will appear something like this
Message1...
Target Structure
Message1
I hope this should do.
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use multimapping...change the occurrence of target message to 0...unbounded in processing tab of messagemapping. Use unique id to identify each student record(like rollNum) and map it to target message type.
Ex:
RollNum>removeContext>sort>SplitByValueChange>collapseContext--->Mt_Target
Please refer this for multimapping
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards,
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.