Author |
Message
|
DarXide |
Posted: Wed Mar 10, 2010 1:16 am Post subject: mqsc question |
|
|
Apprentice
Joined: 02 Dec 2007 Posts: 43 Location: israel
|
hii guys !
i use mqsc program to connect to qmgrs on my network for a 4 years
but now i bump into some problem
i need to connect to qmgr behind firewall lets call him QM1
i have QM2 that send to QM1
of course the port between QM2 and QM1 is opened
and i want to connect to QM1 from my work station
my question : can i use some how QM2 as a gateway to QM1 with mqsc ?
thanks
alex |
|
Back to top |
|
 |
vennela |
Posted: Wed Mar 10, 2010 4:05 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I am not sure but MO72 might be useful |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 10, 2010 4:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MS0S as well.
You can't use base runmqsc against a non-local qmgr. |
|
Back to top |
|
 |
DarXide |
Posted: Wed Mar 10, 2010 4:59 am Post subject: |
|
|
Apprentice
Joined: 02 Dec 2007 Posts: 43 Location: israel
|
im using MQSC client
not the local runmqsc
can i use 1 QM to connect to ather |
|
Back to top |
|
 |
DarXide |
Posted: Wed Mar 10, 2010 5:02 am Post subject: |
|
|
Apprentice
Joined: 02 Dec 2007 Posts: 43 Location: israel
|
C:\WMQ>mqsc ?
MQSC Command Program by Paul Clarke [V1.8] Build:Jul 15 2008
(c) Copyright IBM Corp. 2004, 2008
Usage: MQSC <Optional flags as below>
[-c <Channel Name>]
[-C <MQSC Command>]
[-e] Don't echo commands to output
[-E] Always echo commands to output
[-f <Location of MQMON.CFG file>]
[-g] Use MQMON.CFG configuration file
[-h <Host Name>]
[-i <Input File>]
[-l] Connect as client
[-m <Queue Manager Name>]
[-M <Target Queue Manager Name>]
[-n Client only mode
[-o <Output File>]
[-p <Parameter String>
[cols=<n> Number of columns]
[width=<n> Width of output]
[wrap=<yes|no> Whether output wraps]
[comp=<yes|no> Compress Attributes]
[wait=<n> Wait Interval]
[format=<yes|no> Formatting on]
[prompt=<prompt string> %m for QMName]
[-q <Command Queue>
[-r <Reply Queue Name>]
[-R <Reply Queue Model Prefix>]
[-s <Security Exit Name>]
[-t <Channel Table File>]
[-S <Security Exit Data>]
[-v <Channel Table Version>]
[eg. -v5.3 for MQ 5.3 (or later) compatibility]
[eg. -vs4 for explicit MQCD structure version 4
[-z] Queue Manager is z/OS |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 10, 2010 5:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So you can contact the author of any SupportPac by the methods they indicate in their documentation, and particularly for Cat2 SupportPacs, this is the only support you can get.
Looking at the output you posted, I'd guess you want to use -M. |
|
Back to top |
|
 |
DarXide |
Posted: Wed Mar 10, 2010 5:23 am Post subject: |
|
|
Apprentice
Joined: 02 Dec 2007 Posts: 43 Location: israel
|
|
Back to top |
|
 |
vennela |
Posted: Wed Mar 10, 2010 6:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I would assume the command servers of both the queue managers should be running |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 10, 2010 8:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
vennela wrote: |
I would assume the command servers of both the queue managers should be running |
Why both? All you need in the connected qmgr is a default way to connect to the target qmgr and back, and access to the model queue. The target qmgr then needs to have the command server running.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|