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 » General IBM MQ Support » MQOPEN 2046

Post new topic  Reply to topic
 MQOPEN 2046 « View previous topic :: View next topic » 
Author Message
atnunes
PostPosted: Wed Dec 14, 2005 3:19 am    Post subject: MQOPEN 2046 Reply with quote

Newbie

Joined: 14 Dec 2005
Posts: 2
Location: São José do Rio Preto - SP

If Trigger Monitor starts a MQ sample program(amqsgetc), some error mesages are displayed as follows:
Sample AMQSGETC start
open options are 0
MQOPEN ended with reason code 2046
unable to open queue for input Sample AMQSGET0 end

How do I solve the problem?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Dec 14, 2005 3:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Thats becuase the trigger monitor passes a trigger message to the started program. the sample program amqsget isn't expecting a trigger message, it wants just the queue name (and queue mgr name and other optional parms).

Have a look at amqsreq and amqsecha (requestor and echo program). amqsecha is expecting to get triggered ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
atnunes
PostPosted: Wed Dec 14, 2005 4:49 am    Post subject: Reply with quote

Newbie

Joined: 14 Dec 2005
Posts: 2
Location: São José do Rio Preto - SP

lol.... it works....

Thanks a lot....
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 » General IBM MQ Support » MQOPEN 2046
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.