Creating multiple xml elements

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
suguna
Participant
Posts: 15
Joined: Wed Jan 31, 2007 6:57 am

Creating multiple xml elements

Post by suguna »

Hello,

I need a help to create multiple instances of XML messages.I had created the functional map which produces one XML message.But when i try to create multiple by making Elem Decl of XML to range of s...I am not able to get it...I dont know whether the pbm is with type tree...but i had validated my type tree.....Could u give me the solution...Thanks in advance :)
Regards,
suguna
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

You need a functional map at the s level to process each occurrence.
suguna
Participant
Posts: 15
Joined: Wed Jan 31, 2007 6:57 am

Post by suguna »

Thanks janhess.....Could you provide me the information about how to count the number of records from the input file....thanks in advance :)
Regards,
suguna
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

use the COUNT function.
Post Reply