DS 8.5 XML-Stage - Output of tags without content

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
MT
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 09, 2007 3:51 am

DS 8.5 XML-Stage - Output of tags without content

Post by MT »

Hi,

we are using the new XML-Stage of DataStage 8.5 and we have to provide the XML-tags even when the content is empty or null.

There is a setting in the composer step on the format tab which I though would do the job:
"Omit Null Elements" is unchecked
but the stage does not return the tags for a null input.

The documentation for this stage is very "sparse" I would say.

So I hope someone might have an idea how to achieve this.

My questions is twofold:
1. How do I get the empty tags with null input for mapped fields?
2. Is there a way to get the empty tags when a field is not mapped in the assemby editor?

Many thanks in advance
regards

Michael
Post Reply