| Author | 
		  Message
		 | 
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Fri Apr 11, 2014 7:23 am    Post subject: saveqmgr error 2428 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				we are using mq version 7.0
 
we are trying to take a back up of one of the queue managers and getting the mq error 2428. There are no subscriptions other than the system ones.
 
here is the command and output.
 
 
C:\Program Files\ibm\ms03_win\ms03_win>saveqmgr.exe -m ADT_QM1 -f ADT_QM1.mqsc 
 
Compiled for Websphere MQ V7.0.1.0 on Oct 20 2011 
 
SAVEQMGR V6.1.4.0 
 
Requesting attributes of the queue manager... 
 
Writing Queue Manager definition to ADT_QM1.mqsc. 
 
Generating attributes for Websphere MQ Release 7.0.1 
 
Generating code for platform WINDOWSNT 
 
Requesting attributes of all authinfo objects... 
 
Requesting attributes of all queues... 
 
Requesting attributes of all channels... 
 
Requesting attributes of all processes... 
 
Requesting attributes of all namelists... 
 
Requesting attributes of all listeners... 
 
Requesting attributes of all services... 
 
Requesting attributes of all topics... 
 
Requesting attributes of all subscriptions... 
 
Writing AuthInfo definitions to ADT_QM1.mqsc. 
 
Writing Queue definitions to ADT_QM1.mqsc. 
 
Skipping dynamic queue AMQ.MQEXPLORER.506994232 
 
Skipping dynamic queue SAVEQMGR.5321051A02970028 
 
Writing Channel definitions to ADT_QM1.mqsc. 
 
Writing Process definitions to ADT_QM1.mqsc. 
 
Writing Namelist definitions to ADT_QM1.mqsc. 
 
Writing Listener definitions to ADT_QM1.mqsc. 
 
Writing Service definitions to ADT_QM1.mqsc. 
 
Writing Topic definitions to ADT_QM1.mqsc. 
 
Got bad PCF response message 
 
    Type = 2 
 
    StrucLength = 36 
 
    Version = 1 
 
    Command = 176 
 
    MsgSeqNumber = 1 
 
    Control = 0 
 
    CompCode = 2 
 
    Reason = 2428 
 
    ParameterCount = 0 
 
Processing Aborted, output file may be incomplete 
 
 
C:\Program Files\ibm\ms03_win\ms03_win> 
 
 
Can you please suggest any resolution?
 
 
Thanks,
 
Srikanth.K | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Fri Apr 11, 2014 8:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Hi -
 
Can you be more clear on the exact version of MQ you are running against? 7.0.?.?
 
 
Also, contact the maintainer of saveqmgr by email, and send both the standard output and the standard error from the same command with a --diagnostics level greater than 10. 
 
 
So, something like 
 
   
	| Code: | 
   
  
	| saveqmgr.exe -D 11 -m ADT_QM1 -f ADT_QM1.mqsc 2>ADT_QM1.stderr | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 12:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				Hi,
 
 
The mq version is 7.0.
 
 
I ran with that debug level and here is the tail snippet of the error log.
 
 
(saveqmgr.c) printThisObject objectName is SYSTEM.DEFAULT.TOPIC                     SysObjs is 1 SO_OBJECT is 256 
 
(saveqmgr.c) printThisObject sysNameTest is 0 SO_ALL test is 1 SO_OBJECT test is 0 
 
(saveqmgr.c) printThisObject returnVal is 1 
 
(mqutils.c) About to print 'DEFINE TOPIC ('%s') ' with 'SYSTEM.DEFAULT.TOPIC                            '
 
(mqutils.c) About to print '* ALTDATE (%s) ' with '2011-04-19  '
 
(mqutils.c) About to print '* ALTTIME (%s) ' with '16.56.13'
 
(mqutils.c) About to print '       TOPICSTR('%s') ' with ''
 
(mqutils.c) About to print '       DESCR('%s') ' with '                                                                '
 
(mqutils.c) About to print '       CLUSTER('%s') ' with '                                                '
 
(mqutils.c) About to print '       MDURMDL('%s') ' with '                                                '
 
(mqutils.c) About to print '       MNDURMDL('%s') ' with '                                                '
 
(mqutils.c) Before MQGET: Options: 24577, Encoding: 546, CCSID: 0, WaitInterval: 60000
 
(mqutils.c) After MQGET: RC: 0, Options: 24577, Encoding: 546, CCSID: 850, Format 'MQADMIN '
 
(mqutil.c) *** Got message from command server ***
 
  CorrelId : X'414D51204144545F514D3120202020203987485320B60A0C'
 
 length - 36 bytes 
 
00000000:  0200 0000 2400 0000 0100 0000 B000 0000 '....$...........'
 
00000010:  0100 0000 0000 0000 0200 0000 7C09 0000 '............|...'
 
00000020:  0000 0000                               '....            '
 
(saveqmgr.c) processing a response:
 
	Type = 2
 
	StrucLength = 36
 
	Version = 1
 
	Command = 176
 
	MsgSeqNumber = 1
 
	Control = 0
 
	CompCode = 2
 
	Reason = 2428
 
	ParameterCount = 0
 
	(ObjectSets) = 1
 
Got bad PCF response message
 
	Type = 2
 
	StrucLength = 36
 
	Version = 1
 
	Command = 176
 
	MsgSeqNumber = 1
 
	Control = 0
 
	CompCode = 2
 
	Reason = 2428
 
	ParameterCount = 0
 
Processing Aborted, output file may be incomplete | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 1:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				What is the output from the following command
 
 
  dspmqver
 
 
 
that will tell us the complete version number. Saying 7.0 is not enough _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 1:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				Here is the version number
 
 
C:\Program Files\ibm\WebSphere MQ\bin>dspmqver
 
Name:        WebSphere MQ
 
Version:     7.0.1.2
 
CMVC level:  p701-102-100504
 
BuildType:   IKAP - (Production)
 
 
C:\Program Files\ibm\WebSphere MQ\bin> | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JosephGramig | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 7:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA 
  | 
		  
		    
			  
				| WMQ maintenance 7.0.1.12 just came out. Try applying that. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 7:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				Unfortunately we cannot upgrade them at the moment.
 
Is there any other solution? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JosephGramig | 
		  
		    
			  
				 Posted: Mon Apr 14, 2014 8:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA 
  | 
		  
		    
			  
				| There is a remote version saveqmgrc, did you try that from your desktop? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Tue Apr 15, 2014 1:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				| we ran saveqmgrc from the server itself and it is failed with the same reason. I suspect that it will give the same error if we run from desktop as well. How to run it from desktop? what configuration changes we need to make? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srikanthkonagalla | 
		  
		    
			  
				 Posted: Tue Apr 15, 2014 6:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Apr 2014 Posts: 6
  
  | 
		  
		    
			  
				Default subscription was missing after creating it with the below command it has solved the problem.
 
DEFINE SUB(SYSTEM.DEFAULT.SUB) + 
 
       TOPICSTR('') +
 
       TOPICOBJ('') +
 
       DEST('') +
 
       DESTQMGR('') +
 
       PUBAPPID('') +
 
       SELECTOR('') +
 
       USERDATA('') +
 
       PUBACCT(0000000000000000000000000000000000000000000000000000000000000000) + 
 
       DESTCORL(000000000000000000000000000000000000000000000000) +
 
       DESTCLAS(PROVIDED) +
 
       EXPIRY(UNLIMITED) + 
 
       PSPROP(MSGPROP) + 
 
       PUBPRTY(ASPUB) +
 
       REQONLY(NO) + 
 
       SUBSCOPE(ALL) + 
 
       SUBLEVEL(1) + 
 
       VARUSER(ANY) +
 
       WSCHEMA(TOPIC) +
 
       SUBUSER('') | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |