Author |
Message
|
RJB |
Posted: Fri May 17, 2002 1:15 pm Post subject: Problem sending to remote QM using Win 2k v5.2 |
|
|
Newbie
Joined: 17 May 2002 Posts: 4
|
I'm new to MQ and am attempting to send msgs to a remote (MVS/MQ) QM. I've worked with the remote site to establish channels and queues and from their end they are able to send a msgs to my local queue. I can channel ping their side, but I think my queue defs are suspect. Using MQ Explorer I've established the following queues and procs:
Transmission Queue - Defining local intit queue and trigger process.
Remote Definition Queue - Defining RMT QN, RMT QM and XMIT QN .
Local (Init) queue.
Process Def - defining User data as the sender channel.
Using the API Exerciser I get an error 2045 (Invalid type) on the MQOPEN of the remote def queue. When I place msgs on the local init queue they don't go anywhere. Is there someway to capture this config to post it?
Can someone please help?
Thanks
Rodger |
|
Back to top |
|
 |
kirani |
Posted: Fri May 17, 2002 2:31 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Use following MQSC commands to get components definitions and post them here.
DIS PRO - Display PROCESS Definitions
DIS CHL - Display Channel
DIS Q - Display Queue (Local, Remote, Transmission)
Use runmqsc utility to run these commands. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
an_ragu |
Posted: Fri May 17, 2002 8:25 pm Post subject: Problem sending to remote QM using Win 2k v5.2 |
|
|
Newbie
Joined: 16 May 2002 Posts: 8
|
As per your error code, and your statements,
Your problem may be the queue open option. The description of error code says invalid option. So if the que is remote you have to set the option for only output since u can not get the message from remote que defn. so check your open option.
Guru |
|
Back to top |
|
 |
RJB |
Posted: Mon May 20, 2002 6:31 am Post subject: |
|
|
Newbie
Joined: 17 May 2002 Posts: 4
|
Actually the error indicates invalid TYPE rather than Option. I think this is refering to the queue being a remote def queue. It's like it doesn't like the MQOPEN on this TYPE of queue. Anyone have any experience with the API exerciser in Win v5.2?
Rodger |
|
Back to top |
|
 |
bower5932 |
Posted: Mon May 20, 2002 6:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Could you be getting the 2045 because:
- you are specifying an open option of get (not allowed on remote queues)
- you have your queue set so that it is put disabled
Ron |
|
Back to top |
|
 |
mrlinux |
Posted: Mon May 20, 2002 7:07 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
The API Exercisor by default set OPTION to open queue for reads you must go into the options and uncheck it _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
RJB |
Posted: Mon May 20, 2002 7:11 am Post subject: |
|
|
Newbie
Joined: 17 May 2002 Posts: 4
|
Ron, I'm using the explorer to view the properties of the queue and it shows PUT enabled. Running the API in advanced mode you can choose the options on the MQOPEN. "MQOO_INPUT_AS_Q_DEF" is selected as the default. Do you happent to know if INIT queues and PROCESSES are allowed in v5.2, as my xmit queue has both defined to it? In the Information Center doc the reference to MQSeries for Windows has a note stating these are not valid. The Explorer shows these to be valid selectable options though.
Rodger |
|
Back to top |
|
 |
|