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 » savemqgrc not recognizing -C option

Post new topic  Reply to topic
 savemqgrc not recognizing -C option « View previous topic :: View next topic » 
Author Message
murdeep
PostPosted: Thu May 28, 2009 1:52 pm    Post subject: savemqgrc not recognizing -C option Reply with quote

Master

Joined: 03 Nov 2004
Posts: 211

Env: Windows 2003 Server, WMQ V7, latest MS03.

Try to use saveqmgrc specifying options for MQCONNX and it complains that -C is unrecognized parameter.


Quote:

C:\WMQ\ms03>saveqmgrc -m QMA -a nnn.nnn.nnn.nnn(pppp) -x MY.SECURE.SVRCONN -C RC4_MD5_US -k C:\Progra~1\IBM\Websph~1\ssl\certs
Compiled for Websphere MQ V7.0 on Jan 7 2009
Invalid invocation, option: "-C"

Usage is:
saveqmgrcV7 [options], where [options] are one or more of the following optional switches

--help | -h | -? : gives help (this)
--localQMgr | -m lqmgr : is the name of the local qmgr to connect (MQCONN)
--remoteQmgr | -r rqmgr : is the name of the remote qmgr (XMITQ name)
--outputFile | -f [file] : allows the output file to be named,
if -f is not specified, the output file defaults to SAVEQMGR.MQSC
if -f is specified without a filename, it is named "qmgrname".MQSC.
--outputFileNoHeader | -F [file] : behaves the same as -f except no header line is created in the output file
(and CURDEPTH, ALTDATE and ALTTIME are not reported)
--replaceOutput | -o : specifies to replace (overwrite) the output file
if the -o flag is not specified, then the default is to append if the file exists
(on iSeries, *REPLACE,*APPEND must be specified after the -o flag)
--stdout | -c : directs output to STDOUT and overrides use of -f flag
--noSystemObjects | -s [list] : suppress creation of objects that begin with "SYSTEM*"
list is a comma separated selection from
QMGR,QUEUE,NAMELIST,CHANNEL,PROCESS,AUTHINFO,LISTENER,SERVICE,TOPIC,SUB,NONE
Specifying NONE is equivalent to specifying -s without any options and will override all other choices
This is an inclusion list, System objects of the types listed *will* be reported in the output file.
--qm : A shortcut option that is exactly equivlaent to --noSystemObjects QMGR.
The ALTER QMGR command will be produced, all other system objects will be skipped.
--resetChannels | -R [flags] : create RESET CHANNEL commands
flags can be any combination of the follow to create RESET for that channel type:
s (SENDER) v (SERVER) r (RECEIVER) q (REQUESTER) c (CLUSSDR) d (CLUSRCVR)
the default is to create RESET commands for all the above channel types
--permDyn | -p : Create 'local queue' definitions from PERMDYN queues.
--ignoreErrors | -i : Ignore 'pcf' error codes 'damaged object' 'unknown object'.
Sets RetCode to WARNING if this error encountered.
--quiet | -q : Quiet mode, do not issue warning about unknown PCF attributes
--oneLine | -1 : generate entire DEFINE command on one line (which does NOT include ALTDATE etc)
--twoLines | -2 : on a 2nd line, generate the DEFINE as a comment (which DOES include ALTDATE etc)
--saveSecurity | -z [file] : create 'security definitions (like amqoamd -s)' in file 'file'(only >=V6)
if not specified, defaults to "qmgrname".AUT
--saveSecurityNoHeader | -Z [file]: same as -z only without the header line
--commandServerQ | -cs [queue]: the name of the Command Server Input queue, defaults to SYSTEM.ADMIN.COMMAND.QUEUE
--version | -v version : determines which version of MQSC to generate
and can be '2','5','51','52','53','6', or '7'
Note: see read.me for more information BEFORE you use this flag.
The default is to generate mqsc at the version of the connected queue manager

If either the -a or -x switch is used, then MQCONNX will be used for the client connection
--hostname | -a host : is the address of the host for a client connection (default is "localhost")
--channel | -x channel : is the SVRCONN name for a client connection (default is "SYSTEM.DEF.SVRCONN")
--sslCipher | -C cipher spec : indicates to use an SSL cipher spec for this client connection
--keyRepos | -k key repository : name of key respository directory if using SSL for client connection
--channelExitX | -eX channel exit: X = 'y' for security, 's' for send, 'r' for receive
--channelDataX | -dX "channel exit data": X = 'y' for security, 's' for send, 'r' for receive.


SAVEQMGR V6.1.1


Any ideas? I think I have the right options specified.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri May 29, 2009 12:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

As the ReadMe states:

Quote:
If either the -a or -x switch is used, then MQCONNX will be used for the client connection


Have you tried using only -a or only -x? I tend to play around with the syntax until I get right. If you still can't get it to work after that, then I suggest contacting the individual whom supports saveqmgr.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri May 29, 2009 1:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447



It seems like it should be valid syntax the way you wrote it. I'll look at it today, but please contact me by email so I can better track this.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri May 29, 2009 1:45 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

exerk wrote:
As the ReadMe states:

Quote:
If either the -a or -x switch is used, then MQCONNX will be used for the client connection


Have you tried using only -a or only -x? I tend to play around with the syntax until I get right. If you still can't get it to work after that, then I suggest contacting the individual whom supports saveqmgr.

You need both exerk, if your QM is not on "localhost" and your SVRCONN channel is not SYSTEM.DEF.SVRCONN.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
exerk
PostPosted: Fri May 29, 2009 1:49 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

PeterPotkay wrote:
exerk wrote:
As the ReadMe states:

Quote:
If either the -a or -x switch is used, then MQCONNX will be used for the client connection


Have you tried using only -a or only -x? I tend to play around with the syntax until I get right. If you still can't get it to work after that, then I suggest contacting the individual whom supports saveqmgr.

You need both exerk, if your QM is not on "localhost" and your SVRCONN channel is not SYSTEM.DEF.SVRCONN.


OK, thank you for that...my poor interpretation of the ReadMe file
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri May 29, 2009 5:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Okay, to repeat.

Please contact me by email, at the address in the read.me.

There are some fixes I've already done in the forthcoming 6.1.2 release, that may resolve this for you.
Back to top
View user's profile Send private message
murdeep
PostPosted: Fri May 29, 2009 7:14 am    Post subject: Reply with quote

Master

Joined: 03 Nov 2004
Posts: 211

Jeff, email sent. Thanks.
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 » savemqgrc not recognizing -C option
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.