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 » IBM MQ Installation/Configuration Support » Unable to create ctrmqm with -ic command

Post new topic  Reply to topic
 Unable to create ctrmqm with -ic command « View previous topic :: View next topic » 
Author Message
Aravindh
PostPosted: Wed Sep 15, 2021 7:40 pm    Post subject: Unable to create ctrmqm with -ic command Reply with quote

Newbie

Joined: 07 Apr 2021
Posts: 9

I have planned to create a QM with some pre-defined qm object in .mqsc file, but QM is not creating and throwing invalid command.

can someone help me.

mqm:~$ crtmqm -ic '/var/mqm/qmgrs/QM1/RMPLL1C.mqsc' QMAN
AMQ7027E: Argument -ic supplied to command crtmqm is invalid.
Usage: crtmqm [-z] [-q] [-c Text] [-d DefXmitQ] [-h MaxHandles]
[-md DataPath] [-g ApplicationGroup] [-oa user|group]
[-t TrigInt] [-u DeadQ] [-x MaxUMsgs] [-lp LogPri] [-ls LogSec]
[-lc | -ll | -lla | -lln] [-lf LogFileSize] [-ld LogPath]
[-p Port] QMgrName

-c Descriptive text.
-d Default transmission queue name.
-g Restrict use of the queue manager to this group.
-h Maximum number of handles per connection handle.
-lc Use circular logging.
-ld Directory used to hold the log files for the queue manager.
-lf Log file size, specified in units of 4 KB pages.
-ll Use linear logging.
-lla Use linear logging with automatic management of log extents.
-lln Use linear logging with user archive management of log extents.
-lp Primary log files allocated when the queue manager is created.
-ls Secondary log files allocated when the primary files are exhausted.
-md Directory used to hold the data files for the queue manager.
-oa Authorization policy for the queue manager.
-p Create listener configured for TCP/IP on the specified port.
-q Make this queue manager the default queue manager.
-t Trigger interval in milliseconds.
-u Dead-letter queue name.
-x Maximum number of uncommitted messages under any one syncpoint.
-z Suppress error messages.
mqm:~$
Back to top
View user's profile Send private message
markt
PostPosted: Wed Sep 15, 2021 11:04 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 502

What version of MQ are you running? Since the helptext doesn't mention the option you're trying to use, I guess you're not up to date.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Sep 16, 2021 4:39 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

This https://www.ibm.com/docs/en/mq-appliance/9.2?topic=commands-crtmqm-create-queue-manager says this option is supported at 9.2.0.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Aravindh
PostPosted: Thu Sep 16, 2021 9:18 am    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2021
Posts: 9

I am using 9.1.0.0 version, and i could see this setup in IBM 9.1 document.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Sep 16, 2021 11:02 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Aravindh wrote:
I am using 9.1.0.0 version, and i could see this setup in IBM 9.1 document.

Post the URL here.

Issue the dspmqver command; then issue the same crtmqm command as before. Post the results here.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Aravindh
PostPosted: Thu Sep 16, 2021 6:48 pm    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2021
Posts: 9

Hi, thanks for the response, please check the response.

mqm:~$ dspmqver
Name: IBM MQ
Version: 9.1.0.0
Level: p910-L180705
BuildType: IKAP - (Production)
Platform: IBM MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 4.18.0-305.12.1.el8_4.x86_64
InstName: Installation1
InstDesc:
Primary: Yes
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 910
LicenseType: Production
mqm:~$ crtmqm -ic '/var/mqm/qmgrs/QM1/RMPLL1C.mqsc' QMAN
AMQ7027E: Argument -ic supplied to command crtmqm is invalid.
Usage: crtmqm [-z] [-q] [-c Text] [-d DefXmitQ] [-h MaxHandles]
[-md DataPath] [-g ApplicationGroup] [-oa user|group]
[-t TrigInt] [-u DeadQ] [-x MaxUMsgs] [-lp LogPri] [-ls LogSec]
[-lc | -ll | -lla | -lln] [-lf LogFileSize] [-ld LogPath]
[-p Port] QMgrName

-c Descriptive text.
-d Default transmission queue name.
-g Restrict use of the queue manager to this group.
-h Maximum number of handles per connection handle.
-lc Use circular logging.
-ld Directory used to hold the log files for the queue manager.
-lf Log file size, specified in units of 4 KB pages.
-ll Use linear logging.
-lla Use linear logging with automatic management of log extents.
-lln Use linear logging with user archive management of log extents.
-lp Primary log files allocated when the queue manager is created.
-ls Secondary log files allocated when the primary files are exhausted.
-md Directory used to hold the data files for the queue manager.
-oa Authorization policy for the queue manager.
-p Create listener configured for TCP/IP on the specified port.
-q Make this queue manager the default queue manager.
-t Trigger interval in milliseconds.
-u Dead-letter queue name.
-x Maximum number of uncommitted messages under any one syncpoint.
-z Suppress error messages.
[1]+ Done $PANGPA start
mqm:~$


IBM doc url: https://www.ibm.com/docs/en/ibm-mq/9.1?topic=commands-automatic-configuration-from-mqsc-script-startup
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Sep 16, 2021 9:00 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Your URL ref
Quote:
From IBM® MQ 9.1.4, you can …

_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Aravindh
PostPosted: Thu Sep 16, 2021 10:07 pm    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2021
Posts: 9

yeah, i got it.

thanks for your time and response
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 » IBM MQ Installation/Configuration Support » Unable to create ctrmqm with -ic command
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.