MQ reading twice with 2 node cofig

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
suman27
Participant
Posts: 33
Joined: Wed Jul 15, 2009 6:52 am
Location: London

MQ reading twice with 2 node cofig

Post by suman27 »

Hi,

I have paralell job reading MQ messages using WebSphereMQ stage.
working correctly with single node config file. But when i changed to 2nodes. Job is reading twice of MassageQuantity mentioned in the stage.

I changed the config file just copying the node1 and pasting it again as node2.

Am I doing anything wrong. Suggest me..

Regards,
Suman.
suman27
Participant
Posts: 33
Joined: Wed Jul 15, 2009 6:52 am
Location: London

Re: MQ reading twice with 2 node cofig

Post by suman27 »

suman27 wrote:Hi,

I have paralell job reading MQ messages using WebSphereMQ stage.
working correctly with single node config file. But when i changed to 2nodes. Job is reading twice of MassageQuantity mentioned in the stage.

I changed the config file just copying the node1 and pasting it again as node2.

Am I doing anything wrong. Suggest me..

Regards,
Suman.

Hi All,

We raised this issued to IBM support, This stage will not support multiple nodes when the read method is set as 'keep'.
It will duplicate the data.

only read method 'delete' works on multiple nodes.
Regards,
Suman.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

..I would rephrase this not as a "workaround" but as "acting as designed" :)

It's just semantics, but keep means "browse"....multiple readers of the same queue, when using browse, do not lock out other readers........the same behavior will occur if you launch "n" concurrent jobs that all use the browse queue MQ API capability.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply