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 » MQ Scripts in AS/400

Post new topic  Reply to topic
 MQ Scripts in AS/400 « View previous topic :: View next topic » 
Author Message
Srinivasan
PostPosted: Wed Jul 13, 2005 5:27 pm    Post subject: MQ Scripts in AS/400 Reply with quote

Apprentice

Joined: 12 Jul 2005
Posts: 41
Location: Chennai

Hi,

Is there anyway to authorise a user to a Queue and Queue manager with *ALLMQI authority using MQ Scripts?.

I have authorised users using the following command(But this is not using MQ Scripts),

GRTMQMAUT OBJ(&SX_QmObj) OBJTYPE(&SX_QMObjTp) +
USER(&SX_USRPRF) AUT(*ALLMQI) +
MQMNAME(&SX_QMNAME)

there are about 25 Queues, I have written a CL program for deriving the Queue name and authorising to the corresponding profile thru CL/400 program.

Is there any better way to do this???


Regards,
Srini
_________________
Srinivasan for MQ discussion
Back to top
View user's profile Send private message Yahoo Messenger
vennela
PostPosted: Wed Jul 13, 2005 5:41 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

These are the CL commands that are listed in the admin guide.

Quote:

Authentication Information Commands
CHGMQMAUTI, Change MQM Authentication Information
CPYMQMAUTI, Copy MQM Authentication Information
DLTMQMAUTI, Delete MQM Authentication Information
CRTMQMAUTI, Create MQM Authentication Information
DSPMQMAUTI, Display MQM Authentication Information
WRKMQMAUTI, Work with MQM Authentication Information


You can use them to script I think.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ Scripts in AS/400
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.