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 » mqsc question

Post new topic  Reply to topic
 mqsc question « View previous topic :: View next topic » 
Author Message
DarXide
PostPosted: Wed Mar 10, 2010 1:16 am    Post subject: mqsc question Reply with quote

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
View user's profile Send private message MSN Messenger
vennela
PostPosted: Wed Mar 10, 2010 4:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I am not sure but MO72 might be useful
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mqjeff
PostPosted: Wed Mar 10, 2010 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
DarXide
PostPosted: Wed Mar 10, 2010 4:59 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
DarXide
PostPosted: Wed Mar 10, 2010 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
mqjeff
PostPosted: Wed Mar 10, 2010 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
DarXide
PostPosted: Wed Mar 10, 2010 5:23 am    Post subject: Reply with quote

Apprentice

Joined: 02 Dec 2007
Posts: 43
Location: israel

i did it

thank any way
Back to top
View user's profile Send private message MSN Messenger
vennela
PostPosted: Wed Mar 10, 2010 6:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Wed Mar 10, 2010 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » mqsc question
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.