You can export object authorities to a text file from IBM® MQ Explorer.
About this task
The authorities are formatted in the text file so that you can use lines from the file on the
command line or in scripts to set authorities on other computers in your IBM MQ network. For example, a file could contain the following
lines:
setmqaut -m QM_A -n Q1 -t queue -p user@domain +browse +chg +clr +dlt +dsp +put +inq +get +passall +passid +set +setall +setid
setmqaut -m QM_A -n Q1 -t queue -g mqm +browse +chg +clr +dlt +dsp +put +inq +get +passall +passid +set +setall +setid
You can export different subsets of object authorities. Complete any of the following tasks:
- Export all object authorities for a queue manager and its objects
- Export all Create authorities for a queue manager
- Export authorities by object type
Procedure
-
[OPTION 1] Export all object authorities for a queue manager and its objects
-
In the Navigator view, right-click the queue manager, then click . A dialog opens.
-
Type a name for the text file and save the authorities.
All of the object authorities for the queue manager and its objects are saved in the text file.
-
[OPTION 2] Export all Create authorities for a queue manager
-
In the Navigator view, right-click the queue manager, then click .
-
Click Save As.
A dialog opens.
-
Type a name for the text file and save the authorities.
All of the Create authorities for the queue manager are saved in the text file.
-
[OPTION 3] Export authorities by object type
-
In the Navigator view, right-click the queue manager, then click The Find Authorities dialog opens.
-
Enter the search parameters as required, then click Find; for more
information, see Finding the authorities of a user or group.
-
Click Save As A dialog opens.
-
Type a name for the text file and save the authorities.
All of the object authorities from the records that were found are saved in the text file.