Author |
Message
|
bobbee |
Posted: Mon Jan 15, 2007 12:10 pm Post subject: IMS bridge C/C++ Example |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
Does anybody has an example of C/C++ example interfacting IMS Bridge via MQ. |
|
Back to top |
|
 |
ydsk |
Posted: Sun Feb 18, 2007 1:10 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
C++ MQ client appl on Windows -----> MQ on AIX ----> IMS bridge.
Somebody please post samples, etc for the above scenario on the client side.
Appreciate any hints / posts.
Thanks.
ydsk. |
|
Back to top |
|
 |
bobbee |
Posted: Sun Feb 18, 2007 7:36 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
|
Back to top |
|
 |
ydsk |
Posted: Sun Feb 18, 2007 6:42 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Bobby,
That's great.
I have one more related question.
In the scenario described above, do I need to populate MQIIH header / MQRFH2 header or any other headers while PUTting on the client side ?
Can some one pls suggest the order of all those headers.
Thanks.
ydsk. |
|
Back to top |
|
 |
bobbee |
Posted: Mon Feb 19, 2007 6:49 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
You need to look at the Programmers Guide for a full description of the usage of the Header. If you do not use the header all defaults will be taken. That is the only caveot. We were not using the header. You just filll the first 8 or so bytes of the message with th llzz info. You must format the MQMD_FORMAT field in the MDMD correctly.
Another thing. When you have everything running correctly and it is stable. You should see open input counts on your queues defined to the XCF STGCLASS. This will imply hat the Bridge reconizes the queues and has opened up the queues for input. I could not get anyone to answere that question.
Also what is confusing is that the ZPARM OTMA macron points to the QMGR IMS subsystem that is defined. The STGCLASS parameter points to the IMS Subsystem although bot parameters are named the same. Little things that were 'gotchas' for us.
bobbee |
|
Back to top |
|
 |
|