All,
I have a requirement to pass a value from transformer stage (one of the column say 'Dummy' which has distinct values) and i need to assign this value to the xml file name in xml write stage instead of static name.
So whenever there is a distinct value encounter, the corresponding xml should have the dummy column value as file name.
Pls let me know if any one has some idea on this. Thanks in advance.
Dynamically pass values from transformer to xml stage
Moderators: chulett, rschirm, roy
one possibility is to use the trigger column and allow the xml stage to write multiple files with a suffix that it generates dynamically (to keep the files unique, assuming that you are creating more than one in a single stream), and then post process the set of xml files with another DS job, or another process, to rename them as desired.
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>