| Author | Message | 
		
		  | ajenks | 
			  
				|  Posted: Wed Sep 03, 2008 5:11 pm    Post subject: MS03 pak not outputting authority on iSeries |   |  | 
		
		  | Newbie
 
 
 Joined: 03 Sep 2008Posts: 2
 
 
 | 
			  
				| I have the latest MS03 as of a week or two ago and have successfully run it to output all my queue and channel definitions etc, but now I am in need of the authority information I cannot get it to output this. 
 OS/400 V5R3, MQ V5R3
 
 MS03/QSAVEQMGR VERSION(530)
 LCLQMGRNAM(IA112.QUEUE.MANAGER)
 FILENAME('MS03/QMQSC(SAVEQMGR)')
 OUTPUT(*REPLACE)
 MAKEAUTH(*YES)
 AUTHFN('MS03/QMQAUT(AUTH)')
 
 I even tried creating MS03/QMQAUT(AUTH) manually as a CL member but to no avail.  I get nothing in that member.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | dgolding | 
			  
				|  Posted: Wed Sep 03, 2008 11:39 pm    Post subject: |   |  | 
		
		  |  Yatiri
 
 
 Joined: 16 May 2001Posts: 668
 Location: Switzerland
 
 | 
			  
				| AS400 (woops sorry iSeries) is not my favourite platform by any means - but in the real (woops again,  sorry Unix) world MS03 does not save authorities, MS63 does - but this utility seems to be a Unix only - it's Korn shell. I can't seem to find a AS400 version - but I'm sure there must be, because it *is* a favourite of IBMs'. 
 With a bit of luck the "man himself" the Grand Poobah will be along later - he supports it now.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Michael Dag | 
			  
				|  Posted: Thu Sep 04, 2008 1:05 am    Post subject: |   |  | 
		
		  |  Jedi Knight
 
 
 Joined: 13 Jun 2002Posts: 2607
 Location: The Netherlands (Amsterdam)
 
 | 
			  
				| if you have QSH active you can execute: 
 /qsys.lib/qmqm.lib/amqoamd.pgm -m QmgrName -s
 
 That's what MQDocument does too
  _________________
 Michael
 
 
   
 MQSystems Facebook page
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Thu Sep 04, 2008 2:03 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| 
   
	| dgolding wrote: |  
	| but in the real (woops again,  sorry Unix) world MS03 does not save authorities, |  Yes it does.
 
 
 
   
	| ajenks wrote: |  
	| I have the latest MS03 as of a week or two ago and have successfully run it to output all my queue and channel definitions etc, but now I am in need of the authority information I cannot get it to output this. |  
 I'm not entirely sure what the issue is, but I think it's that you don't have MAKEAUTH in the right place.   If I'm reading the code correctly,
 
 
   
	| Code: |  
	| fprintf(stderr, "\t MAKEAUTH: \"%.4s\" \n", argv[7]); if (!memcmp(argv[7], "*YES", 4)) makeSecurityDefs = 1;
 |  you need it to be the 7th parameter, exactly and only.  I tihnk you have it as the 5th.
 
 Please also contact me by email...
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | dgolding | 
			  
				|  Posted: Thu Sep 04, 2008 3:12 am    Post subject: |   |  | 
		
		  |  Yatiri
 
 
 Joined: 16 May 2001Posts: 668
 Location: Switzerland
 
 | 
			  
				| mqjeff wrote: 
 
   
	| Quote: |  
	| dgolding wrote: but in the real (woops again, sorry Unix) world MS03 does not save authorities,
 
 Yes it does.
 
 |  
      Ours is very old - or did it always do it and we never switched it on? We use amqoamd to save the authorities |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Thu Sep 04, 2008 5:11 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| 
   
	| dgolding wrote: |  
	| mqjeff wrote: 
 
   
	| Quote: |  
	| dgolding wrote: but in the real (woops again, sorry Unix) world MS03 does not save authorities,
 
 Yes it does.
 
 |  
      Ours is very old - or did it always do it and we never switched it on? We use amqoamd to save the authorities |  
 Ooops back at you, I am reminded that you can't save authorities from PCF on MQ v5.3, and so even if you set the switch, MS03 can't save anything.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | ajenks | 
			  
				|  Posted: Thu Sep 04, 2008 5:24 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 03 Sep 2008Posts: 2
 
 
 | 
			  
				| 
   
	| mqjeff wrote: |  
	| I am reminded that you can't save authorities from PCF on MQ v5.3, and so even if you set the switch, MS03 can't save anything. |  Ah, that would explain it!  Thanks for clearing that up.
 
 However, I have now successfully run amqoamd - thanks Michael
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |