|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Replies from an IMS Bridge |
« View previous topic :: View next topic » |
Author |
Message
|
pjrmoreira |
Posted: Mon Nov 24, 2003 5:52 am Post subject: Replies from an IMS Bridge |
|
|
Novice
Joined: 02 Jul 2003 Posts: 14
|
Hello,
I'm not able to find any documentation about the format of an IMS Bridge reply. I don't have any knowledge about IMS, so please forgive me if I don't use the correct vocabulary.
Let's assume I'm sending a request to an IMS Bridge. The request includes a MQIIH. Whenever I'm having a request that was successfully processed, I get a reply with an MQIIH+Output. Now I have some questions:
1- How do I know that a request was successfully processed? I noticed that whenever the request wasn't successfully processed, my MQIIH format field has the DFSM01 values. Is there any easier way?
2- Whenever my request is not successfully processed, I get a reply with the format MQIIH+XXX+Error message, where XXX are 5 bytes that don't seem to be related with the error message. Can anyone provide me the format of this kind of replies?
Many thanks
Paul |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Mon Nov 24, 2003 6:53 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
I'm not an OTMA bridge guru, since I don't really do any development anymore, but I remember tinkering with apps that communicated to some of our IMS transactions from both the old Neonet (fore-runner to WMQI) and from WMQI V2.1.
Here are some of the OTMA manuals that may help you:
http://www-3.ibm.com/software/data/ims/about/imstoc/document/ |
|
Back to top |
|
 |
pjrmoreira |
Posted: Tue Nov 25, 2003 6:46 am Post subject: |
|
|
Novice
Joined: 02 Jul 2003 Posts: 14
|
Hi,
Thanks for your pointers. I read the documentation but I didn't find any information related with my problem.
Currenly, the IMS bridge is placing a message in the reply queue with the following format:
MQIIH + X + "DFS064 09:05:03 DESTINATION CAN NOT BE FOUND OR CREATED"
I know the reason why the bridge is returning an error message. But I don't understand the message structure. X refers to 5 bytes with the following content (in hexadecimal) - 00 3E 0B 00 15.
Is there anyone that knows the meaning of these 5 bytes?
Thanks
Paul |
|
Back to top |
|
 |
LuisFer |
Posted: Tue Nov 25, 2003 12:54 pm Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
The 5 bytes are the LLZZ + 0 binary.
LL is the length of IIH Struct(84) + 4(LLZZ) + length of the MQ Message in Binary.
ZZ are 00 Binary.
The struct to put a IMS tx would be:
Following the MD the IIH struct LLZZ() TX(blank) tx & datatx.
PL/I Example:
DCL 1 MENSAJE,
2 PUTMSGIIH LIKE MQIIH,
2 IMSLEN FIXED BIN(15),
2 IMSZZ FIXED BIN(15),
2 IMSMSJ CHAR(10) INIT('TXERRONEA ');
/......
PUTMSGIIH.FORMAT = MQFMT_IMS_VAR_STRING;
PUTMSGIIH.VERSION = MQIIH_CURRENT_VERSION;
PUTMSGIIH.COMMITMODE = MQICM_SEND_THEN_COMMIT;
BFERLENPUT = 14 + PUTMSGIIH.STRUCLENGTH;
BFERLEN = LENGTH(MENSAJEGET);
IMSLEN = 14;
IMSZZ = 0;
I hope that is help you.
Regards |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|