on 04-07-2011 6:18 PM
Hi
I have a scenario where in i have the follwing structure
BXX
<>
HDR
<>
ITM1
<>
*TM2
<>
Now sometimes i get mutiple records like the following
BXX
<>
HDR (first occurance)
<>
ITM1
<>
ITM2
<>
HDR (2nd occurance)
<>
ITM1
<>
ITM2
<>
ITM3
<>
HDR (Third occurance)
**...**
**....**
**....**
*So now how should my content conversion be to achieve this.*
>>Now sometimes i get multiple records like the following
What kind of source file you are getting? If this is a flat file, the structure should not come with multiple recordset in a single line.
You should get multiple lines. like below
BXX *** HDR1 *** ITM1 *** ITM2
BXX *** HDR2 *** ITM1 *** ITM2
BXX *** HDR3 *** ITM1 *** ITM2
If you are not getting structure like above, you should ask the source application to send in that way.
All applications i have seen give the structure i mentioned above.
The structure which you have mentioned comes in XML file. (one parent-multiple children)
Thanks
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked this blog..talks about random pattern content... this might be helpful
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kalyan,
>>Now sometimes i get mutiple records like the following
My understanding is - you are getting the file from source system right, If mainframe as source system means they can consolidate the file as
BXX
**
HDR
**
ITM1
**
*TM2
**
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.