| Author | 
		  Message
		 | 
		
		  | Aravindh | 
		  
		    
			  
				 Posted: Wed Sep 15, 2021 7:40 pm    Post subject: Unable to create ctrmqm with -ic command | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | markt | 
		  
		    
			  
				 Posted: Wed Sep 15, 2021 11:04 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 14 May 2002 Posts: 512
  
  | 
		  
		    
			  
				| 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 4:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Aravindh | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 9:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 11:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Aravindh | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 6:48 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 9:00 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Aravindh | 
		  
		    
			  
				 Posted: Thu Sep 16, 2021 10:07 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Apr 2021 Posts: 9
  
  | 
		  
		    
			  
				yeah, i got it. 
 
 
thanks for your time and response | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |