Author |
Message
|
ydsk |
Posted: Mon Mar 26, 2007 9:05 pm Post subject: Response from IMS bridge |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi,
I am trying to send a request msg from a Windows C++ client to an IMS transaction via a AIX qmgr and IMS bridge as shown below :
C++ client on Windows <---> MQ5.3 on AIX <---> MQ5.3 on mainframe <---> IMS bridge <---> IMS.
And the Response comes back thru the same path.
Can someone please tell me under what situations ( other than a successful case) does the IMS bridge ( I assume that's the one actually doing a GET and a PUT to/from the mainframe request/response queues) send a response back to the response queue ??
I mean, under what situations can I find a response message on the Reply queue on AIX ?
Does it send a response back
(1) when the IMS region goes down ?
(2) when the IMS transaction goes down ?
(3) when there is a RACF/security error on the mainframe w.r.t the id/pwd passed on in the MQMD ?
(4) Any other scenarios ?
After I do a GET from the Reply2Q on AIX I need to check and see if it is an error msg or a valid response.
Please advise.
Thank you.
ydsk.
Last edited by ydsk on Tue Mar 27, 2007 7:40 am; edited 1 time in total |
|
Back to top |
|
 |
ydsk |
Posted: Tue Mar 27, 2007 7:37 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
When the IMS transaction went down I got a response message in the Reply2Q on AIX that looks like '.....DFS065 ......'.
Can somebody please tell me what all such DFSxxx codes are possible ?
Thank you.
ydsk. |
|
Back to top |
|
 |
LuisFer |
Posted: Tue Mar 27, 2007 9:45 am Post subject: Re: Response from IMS bridge |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
ydsk wrote: |
Hi,
I am trying to send a request msg from a Windows C++ client to an IMS transaction via a AIX qmgr and IMS bridge as shown below :
C++ client on Windows <---> MQ5.3 on AIX <---> MQ5.3 on mainframe <---> IMS bridge <---> IMS.
And the Response comes back thru the same path.
Can someone please tell me under what situations ( other than a successful case) does the IMS bridge ( I assume that's the one actually doing a GET and a PUT to/from the mainframe request/response queues) send a response back to the response queue ??
I mean, under what situations can I find a response message on the Reply queue on AIX ?
Does it send a response back
(1) when the IMS region goes down ?
(2) when the IMS transaction goes down ?
(3) when there is a RACF/security error on the mainframe w.r.t the id/pwd passed on in the MQMD ?
(4) Any other scenarios ?
After I do a GET from the Reply2Q on AIX I need to check and see if it is an error msg or a valid response.
Please advise.
Thank you.
ydsk. |
See
[url]
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.otma/otma.htm
[/url]
Regards |
|
Back to top |
|
 |
ydsk |
Posted: Tue Mar 27, 2007 3:45 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
The material seems to be relevant but it's not very clear what other DFS error codes are possible.
Someone knowledgeable/experienced please help.
Thanks.
ydsk. |
|
Back to top |
|
 |
tleichen |
Posted: Wed Mar 28, 2007 7:28 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
It has been a while since I worked on the mainframe and IMS, so I do not remember the DFS codes off the top of my head. As far as the reply message goes, you will receive a reply if the IMS transaction you are invoking is written to give a response.
Also, you did not include the text of the DFS065 message, but it may indicate that the transaction that you are attempting to run is down or unavailable.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 28, 2007 7:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I thought there was a subtopic under the link that was posted that listed all the possible DF code numbers from the OTMA bridge. It didn't post the text of those messages, though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ydsk |
Posted: Wed Mar 28, 2007 7:15 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
I am trying to know if the format of every DFS message would be the same.
I saw that when the IMS txn was stopped the response message I got in the Reply2Q on AIX was like 'xxxxxDFS999 ......... '
It starts with 5 characters followed by DFS and a 3 digit number.
Can somebody please tell me if every failure response will have the same structure ?
As soon as I do a GET from the reply2Q on AIX, I will scan it and see if the characters strting from the fifth ( assuming a successful response ) are the transaction code. If the chars aren't exactly the same as the txn code I would assume that it is some kind of a DFS error message. Of course, I know the txn code I am sending in the request message soI can compare the characters with it.
Does the approach look ok ? Somebody please comment/advise.
thnx.
ydsk. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 29, 2007 3:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The structure of the error messages should be fully documented somewhere in the IMS documentation. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ydsk |
Posted: Thu Mar 29, 2007 11:33 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
I know it is documented like most of the other things but it's not very clear and that's the reason I am posting repeatedly for help.
Hope somebody who knows responds with an explanation.
thanks.
ydsk. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Mar 29, 2007 1:13 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
|
Back to top |
|
 |
|