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 » WebSphere Message Broker (ACE) Support » How to create a catalog in "Throw User Exception"

Post new topic  Reply to topic
 How to create a catalog in "Throw User Exception" « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Tue May 31, 2005 6:19 am    Post subject: How to create a catalog in "Throw User Exception" Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Can somebody give me some sample code for creating a catalog ? We are trying to use one in "throw user exception" statements. There is no documentation available on how to create one. I know the default catalog uses message numbers between 3051 and 3099.

I know the catalog is optional and we can work without it. But I want to know the feature. Also, the message flows manual says ( page 406 ) it is a file and we can provide a fully qualified file name in a trace node, for example.

Appreciate any help.

Thanks.
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Tue May 31, 2005 6:26 am    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

I dont understand...how exactly the Catalog helps...when reading the failure trace...

wanna try this...

THROW USER EXCEPTION CATALOG 'WMQIv210' MESSAGE 2949 VALUES('The SQL State: ', SQLSTATE, 'The SQL Code: ', SQLCODE, 'The SQLNATIVEERROR: ', SQLNATIVEERROR, SQLERRORTEXT ) ;


-RR
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 31, 2005 6:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/as04520_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Tue May 31, 2005 6:31 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,

I think what you mentioned is the default catalog. I am not looking for it because even if you don't specify anything it assumes the default product catalog.

Let me re-phrase my question: Does anyone know how to create a catalog ?


Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 31, 2005 6:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

See the help link I posted (apparently simultaneously while you were posting).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JT
PostPosted: Tue May 31, 2005 6:49 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
There is no documentation available on how to create one

You can also find instructions in the v2.1 Programming Guide, page 100.
Back to top
View user's profile Send private message
ydsk
PostPosted: Tue May 31, 2005 7:27 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Jeff,

Thanks very much for the information. I wouldn't have found it if you hadn't sent the link.

But it talks about Windows platform only. Is there documentation on how to create a catalog on unix ? All our brokers are on AIX.

Please let me know.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 31, 2005 7:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

JT's link has more instructions on building XPG4 catalogs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Tue May 31, 2005 7:44 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Ok thanks.

Let me go through it and get back to this forum if I have more questions.

But I still have a question now...As I understand it, the catalog can be used in esql / C plug-in / java plug-in.

The esql catalog should be independent of platform. Right ? Correct me if I am wrong.

Thanks.
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 » WebSphere Message Broker (ACE) Support » How to create a catalog in "Throw User Exception"
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.