I am using the FIRST STEPS API Exerciser that is part of the MQ installation
on the server to do MQPUT and MQPUT1 calls.

Q1. OK
Q2. If you are saying you can't MQOPEN a remote queue for input how is it
possible that
the MQPUT1 command worked since it does an MQOPEN, MQPUT and MQCLOSE all in
one command.
Q3. OK.

-----Original Message-----
From: Ron Bower [mailto:[EMAIL PROTECTED]
Sent: Aug-14-2003 03:02
To: [EMAIL PROTECTED]
Subject: Re: Websphere MQ for Windows


Q1. They don't have to have the same names.

Q2. I'd guess that one of your options is one of the
MQOO_INPUT_* options.  You can't open remote queues
for input.

Q3. I'm guessing that even though the MQOPEN failed,
you still tried the MQPUT.  I'm not sure about the
MQPUT1.  I'd want to see the code.

Ron

--- Brent Ireland <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm new to MQSeries and have a few questions i was
> hoping someone could
> answer for me.
>
> Websphere MQ for Windows v5.3 is installed on
> server.
>
> Q1. I created a queue manager called Q51T. I also
> created a remote
> definition queue (R.TEST.TRANS1) for a remote local
>       queue. The remote queue manager is called
> CSQT. The remote local queue
> is called L.TEST.TRANS1.
>
>       Does the remote definition queue and remote
> local queue in this case
> need to have the same names?
>
>
> Q2. An API error when i try to open the remote
> definition queue
> R.TEST.TRANS1 using the MQOPEN function. Why?
>
>      API completion and reason code: MQCC_FAILED(2)
> MQRC_OPTION_NOT_VALID_FOR_TYPE(2045)
>
>
>
> Q3. An API error occurs when an MQPUT is done on
> remote definition queue
> R.TEST.TRANS1. Why?
>
>       API completion and reason code: MQCC_FAILED(2)
>  MQRC_HOBJ_ERROR(2019)
>
>
>      However no error occurs when a MQPUT1 is done
> on remote definition
> queue R.TEST.TRANS1. Explanation?
>
> Brent
> CAE Inc.
>
> Instructions for managing your mailing list
> subscription are provided in
> the Listserv General Users Guide available at
> http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to