|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Dynamic record names in DFDL |
« View previous topic :: View next topic » |
Author |
Message
|
Bichu |
Posted: Fri Dec 09, 2016 5:38 am Post subject: Dynamic record names in DFDL |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Hi All,
I have a requirement to model a csv message. I have successfully modelled the data using a DFDL but I need to have the parent tag of each row in csv as unique after parsing in DFDL.
Currently all the rows tag will be parsed as 'record'. Instead, I would like to have this as record1, record2 and so on for each row parsed in csv.
Have anyone come across this scenario or any thoughts on this. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 09, 2016 6:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The model itself determines the name of the members of the logical message tree you get.
If you want the records named 'record1', 'record2', then you have to put each record separately in the model, and name it 'record1', 'record2', etc. If you don't know how many reccords you will have, that gets a bit complicated.
If you are trying to use 'record1', 'record2', etc to navigate the logical message tree, then you're doing it wrong.
What are you trying to accomplish with these names? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|