I am converting XML file to Flat file. I am struggling for two things.
- Want to achieve tag number without mapping file tag field from source to destination. Is there any way where I can populate it if in case any value in entire row. It shouldn't display tag number if record is empty.
After i map fields, if there is no value then blank records is visible as below
101 JOB3434343 34343KKKK 301 SSSSJooojs kkkkkkkk
In the above, between 101 and 301 there is 201 which doesn't have any output value. But still the blank record is visible in output file. Please advice if anyone can.
What i am doing is as below,
there in flattening value mapping i am passing tag numbers as 101,201 and 301. however i want to see best approach.
Thank you.