Segmented message reading

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mary
Participant
Posts: 23
Joined: Fri Jun 02, 2006 1:28 am
Location: Bng

Segmented message reading

Post by mary »

Hi All



We have a requirement to read messages from the message queue in jobs. Since our file is very larget the single file will be coming in multiple files. At a time we have to process messages corresponds to single messages. Is there a way to distinguish the messages from one group in message queue read stage?

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

Post by ray.wurlod »

Message headers, presumably. What does the application that is writing to the queue do to identify whole file versus part file message?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mary
Participant
Posts: 23
Joined: Fri Jun 02, 2006 1:28 am
Location: Bng

Post by mary »

From Group id we can identify.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Accumulate the entire message in a Transformer stage, follow with an Aggregator stage that passes only the Last in each group (message ID).
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