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 » MO72 help

Post new topic  Reply to topic
 MO72 help « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Sat May 13, 2006 9:49 am    Post subject: MO72 help Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Trying to run MO72 on MQ 6.0.1.0 on Linux.I tried to run as basic a command as possible: mqsc -m HIGCONL1. HIGCONL1 is the local QM, but MO72 keeps throwing me a 2058???

Code:

******my mq version: ************************************************************
[mqm@isd-mqcht001 peter]$ dspmqver
Name:        WebSphere MQ
Version:     6.0.1.0
CMVC level:  p600-100-051021
BuildType:   IKAP - (Production)

Code:

******My OS: ************************************************************
[mqm@isd-mqcht001 peter]$ uname -a
Linux isd-mqcht001 2.4.21-37.EL #1 Wed Sep 7 13:37:20 EDT 2005 i686 athlon i386 GNU/Linux
[mqm@isd-mqcht001 peter]$

Code:

******Where I am: ************************************************************
[mqm@isd-mqcht001 peter]$ cd /var/mqm/peter
[mqm@isd-mqcht001 peter]$ pwd
/var/mqm/peter

Code:

******Here's the mscs file: ************************************************************
[mqm@isd-mqcht001 peter]$ ls -l
total 728
-rwxr-xr-x    1 pp22503  isd        732874 May 13 10:16 mqsc

Code:

******running as mqm: ************************************************************
[mqm@isd-mqcht001 peter]$ whoami
mqm

Code:

******trying to run it, and it gives me a 2058: ************************************************************
[mqm@isd-mqcht001 peter]$ ./mqsc -m HIGCONL1
Error connecting to 'HIGCONL1' RC(2058) QMgr name error.
MQSC Ended

Code:

******But look, HIGCONL1 is valid: ************************************************************
[mqm@isd-mqcht001 peter]$ dspmq
QMNAME(HIGCONL1)                                          STATUS(Running)

Code:

******plain runmqsc can get to the QM ok: ************************************************************
[mqm@isd-mqcht001 peter]$ runmqsc HIGCONL1
5724-H72 (C) Copyright IBM Corp. 1994, 2005.  ALL RIGHTS RESERVED.
Starting MQSC for queue manager HIGCONL1.


end
     1 : end
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.


*************************************************************************
And if I try and run it as a client, I just keep getting the following errors complaining about the usage parms I'm passing, but they seem fine to me:
Code:

[mqm@isd-mqcht001 peter]$ /var/mqm/peter/mqsc -m HIGIDGL1 -l -c MO71.ADMIN -h AD1HFDMQLAB901 "ALTER QLOCAL(HIG.HIGIDGL1.LOCAL.QUEUE) GET(ENABLED)"
MQSC Command Program by Paul Clarke [V1.2] Build:Oct 25 2004

Usage: MQSC <Optional flags as below>
        [-c  <Channel Name>]
        [-e] Don't 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>]
        [-o <Output File>]
        [-p  <Parameter String>
             [cols=<n>        Number of columns]
             [width=<n>       Width of output]
             [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>]
        [-z] Queue Manager is z/OS
MQSC Ended
[mqm@isd-mqcht001 peter]$


????????????????????

When executed on a Windows server, MO72 works fine.

-Peter
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
tleichen
PostPosted: Mon May 15, 2006 6:42 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

I am unclear about your environment, but are you running this on an MQ client? Could it be an environmental setup problem, i.e., missing or invalid MQSERVER variable, etc?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon May 15, 2006 2:36 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The authro has informed me that it only works in bindings mode or as a Client on Windows. On other platforms, its client only.

This now works then:

Code:

echo 'ALTER QLOCAL(HIG.HIGCONL1.LOCAL.QUEUE) GET(ENABLED)' | /var/mqm/peter/mqsc -m HIGCONL1 -l -c PETER.CHANNEL -h ISD-MQCHT001

_________________
Peter Potkay
Keep Calm and MQ On
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 » MO72 help
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.