Splitting XML files

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pillip
Premium Member
Premium Member
Posts: 50
Joined: Thu Dec 10, 2009 10:43 am

Splitting XML files

Post by pillip »

Hi,

Do we have a way of splitting XML files based on a record count.

We use XML output stage for creating XML. Do we have any option to split the output file based on record count.


Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes. You enable the Trigger Column option and whenever the value in that column changes, it spawns a new file. You just need to ensure it changes every X records. And the column does not have to be part of your output XML.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply