Author |
Message |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 6:59 am Subject: MQIIH In VB6 |
The weird thing is that when I debug and step over the MQPUT line the reason code is 0.
Is this correct for building the header:
Private Function BuildBridgeHeader() As Variant
Dim header As ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 6:45 am Subject: MQIIH In VB6 |
Well I lied. If the Message Descriptor Format property that's killing me somehow. If it's set to MQFMT_IMS the message never goes in the queue, but if it is set to MQFMT_STRING it's fine. Sorry for ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 6:08 am Subject: MQIIH In VB6 |
True. I've been totally impressed with the response on the forum.
I do have a little more information. If PutApplType = MQAT_IMS_BRIDGE then the message never arrives in the queue. If it is se ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 5:39 am Subject: MQIIH In VB6 |
Gotcha. Thanks for all of the help.
The structure is used internally by the bridge when the message is picked off, not unlike an RFH2 header.
The only code sample I had for the bridge was lost ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 4:52 am Subject: MQIIH In VB6 |
So I have to do both? How then is the structure used if it's not referenced? You wouldn't happen to have a sample laying around would you?
Thanks so much for your time.
Sorry if I've mislead y ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Wed Apr 12, 2006 3:53 am Subject: MQIIH In VB6 |
If I follow you correctly then I don't even need to populate the structure. I simply need to prepend the structure to the message, right?
Hi BBuff,
You're quite right - the IIH header needs to ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Tue Apr 11, 2006 5:26 pm Subject: MQIIH In VB6 |
Thanks Eddie. Here's a question for you. I notice in several samples, all Java I believe, that the IIH header was included in the message using writeString. Since this doesn't exist in VB should I ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Tue Apr 11, 2006 5:23 pm Subject: MQIIH In VB6 |
Thanks JT. I will ask the team that I'm doing this for to provide me a transaction to test with instead of my dummy one.
Once the MQPut is called I can go on the MF and look at the queue but the m ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Tue Apr 11, 2006 12:26 pm Subject: MQIIH In VB6 |
Thanks for the fast reply Wayne. First, here's the MQPUT code:
MQPUT g_conn, g_obj_put, md, pmo, buflen, Buffer, comp_code, r_code
Both comp_code and r_code equal 0 following this call.
I do ... |
Topic: MQIIH In VB6 |
BBuff
Replies: 23 Views: 15823
|
Forum: IBM MQ API Support Posted: Tue Apr 11, 2006 11:39 am Subject: MQIIH In VB6 |
I've tried searching this valuable resource (and everything else Google will spit out at me) for an answer to this, but no luck thus far.
I'm trying to send a message via the bridge to IMS using VB ... |