ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Possible For Apps To Retrieve Reason Code Verbiage?

Post new topic  Reply to topic
 Possible For Apps To Retrieve Reason Code Verbiage? « View previous topic :: View next topic » 
Author Message
queuetip
PostPosted: Fri May 06, 2005 7:32 am    Post subject: Possible For Apps To Retrieve Reason Code Verbiage? Reply with quote

Acolyte

Joined: 03 Feb 2005
Posts: 67

When a reason code is returned from an MQI call, I wish MQSeries had a way to also pass back the reason code description to the application program....OR....let the application program make a call to somewhere to retrieve the reason code's description.

Maybe there is a way to do this for C or COBOL that I don't know about?

Thank you!
Mike
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri May 06, 2005 8:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Mike,
please post in the apropriate forum, moving your message to API Support.

for reason codes and descriptions have a look at the mqrc program supplied with WebSphere MQ
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PeterPotkay
PostPosted: Fri May 06, 2005 8:08 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000652&loc=en_US&cs=utf-8&lang=en

MA0K: WebSphere MQ - Completion Code and Reason Code analysis programs
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
queuetip
PostPosted: Tue Aug 01, 2006 2:28 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2005
Posts: 67

Peter,

I downloaded the utility and it works fine - but this is certainly just a throw in utility. Ideally, I would like a more enterprise solution to at least report the error title when I report the reason code so that an operator or cycle monitor can have an idea of what went wrong.

Thanks,
Mike
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 01, 2006 5:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could write a simple web service that would fork off a copy of mqrc (supplied with WebSphere MQ), and return the results....
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
queuetip
PostPosted: Wed Aug 02, 2006 8:35 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2005
Posts: 67

Web service is an excellent idea for midrange platforms... unfortunately for that solution our product also runs on the mainframe (and invoking web services from the mainframe is not part of our integration strategy).

Unless maybe there is a mainframe database / file equivilent for mqrc that is formally distributed with Websphere MQ?

Thanks,
Mike
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 02, 2006 9:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mqrc is a program, not a file or database.

I don't know about Z/Os. You should be able to create a db2 stored procedure that will call your webservice, and then call that stored procedure.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Aug 02, 2006 10:56 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

I know there are copybooks and/or header files in the appropriate languages (assembler, COBOL, PL/I, etc.) that are supplied with the product. It's been a while for me, but I once created the very thing you have mentioned, using an assembler routine. Worked great. We even used it to generate console messages with the error text in them.

Unfortunately, I don't have access to a mainframe in my current assignment, so I can't give you the specifics.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Possible For Apps To Retrieve Reason Code Verbiage?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.