How to pass data to MQConnector

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

How to pass data to MQConnector

Post by satheesh_color »

Hi All,

We were trying to pass the records from Dataset to the target MQConnector stage through JavaConnector Stage(Java PLUUpdate Object converts datas into binary format) and sends it into MQ.

When we run the job the job completed successfully and we even see some records get into MQ through performance statistics.

When we check it from MQ side it shows the error as "Unregcoginized object message".

can you please let us know if there were any other easy way to pass the data into MQ, and what data format MQ accept the datas.


Thanks,
Satheesh
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What happens when you enable rejects on the MQ stage? I would start with a simple job such as RowGen -> MQ to see if you have the connection set up correctly and that makes it simpler than adding Java and other stages into the mix.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

What are you trying to pass into it? Does a test job with a string like "hello" passed to the MQ Connector from a Transformer work ok?

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

Post by satheesh_color »

Hi,

We have passed the records into it. From the DSLog it open/close the MQ connection and commited the transaction. No error from our side.

But when we check from MQ side no message in the MQ.


Please through some lights on this.


Thanks,
Satheesh
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Ok...some things to try....

What happens if you just go from a Transformer into MQ? (skip your java stage).
Are you using MQ Connector or MQ Plugin?
What happens when you try the other?
Are you using MQClient or MQ Server mode?

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

Post by satheesh_color »

Hi Ernie,

Finally i tried to manage to send the messages to ISS Builder through MQConnector stage. But the thing is ISS is not recognising the input messagesobjects.


There were some java version issues(Stage class compiled only in 1.5 version) with that. ISS builder support 1.4.2 version.





Thanks,
Satheesh
Post Reply