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 Discussion » MS03 pak not outputting authority on iSeries

Post new topic  Reply to topic
 MS03 pak not outputting authority on iSeries « View previous topic :: View next topic » 
Author Message
ajenks
PostPosted: Wed Sep 03, 2008 5:11 pm    Post subject: MS03 pak not outputting authority on iSeries Reply with quote

Newbie

Joined: 03 Sep 2008
Posts: 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
View user's profile Send private message
dgolding
PostPosted: Wed Sep 03, 2008 11:39 pm    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 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
View user's profile Send private message Visit poster's website
Michael Dag
PostPosted: Thu Sep 04, 2008 1:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 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
View user's profile Send private message Visit poster's website MSN Messenger
mqjeff
PostPosted: Thu Sep 04, 2008 2:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 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
View user's profile Send private message
dgolding
PostPosted: Thu Sep 04, 2008 3:12 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 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
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Thu Sep 04, 2008 5:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 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
View user's profile Send private message
ajenks
PostPosted: Thu Sep 04, 2008 5:24 pm    Post subject: Reply with quote

Newbie

Joined: 03 Sep 2008
Posts: 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
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 Discussion » MS03 pak not outputting authority on iSeries
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.