Remove lines from the xm l file

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

ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Another Transformer solution - maintain two stage variables to determine whether you've seen "<![CDATA[" (if not you're still in the header and you don't pass this row) and another to detect when you see "</xtd:Data>" (which means you're now in the trailer and you don't pass this or any more rows). Both are initialized to @FALSE. The constraint expression is simply a combination of these two, for example Not(svInHeader) And Not(svInTrailer).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply