Create the system-default objects
The system-default objects are created automatically when you issue the CRTMQM command to create a queue manager. For example:
CRTMQM MQMNAME(QMGRNAME) ASP(*SYSTEM)We can refresh them using the STRMQM command. For example:
STRMQM MQMNAME(QMGRNAME) RDEFSYS(*YES)Refer to the onscreen help for information about using this command.on the command STRMQM MQMNAME(QMGRNAME) RDEFSYS(*YES):-
- The command does not recreate the objects, it performs a CRTxxxx REPLACE(*YES) for all of the SYSTEM.* objects.
- This means that it refreshes the parameters on the objects back to their defaults. So if, for example, on the SYSTEM.DEFAULT.LOCAL.QUEUE object, TRGENBL had previously been changed to *YES, then, when the command is run, it is changed back to TRGENBL(*NO).
- If any messages exist on a queue, they are left intact, because the queues are not physically deleted.
- The contents of the SYSTEM.AUTH.DATA.QUEUE are untouched when this command is run.
- So, if the contents of this (or any other significant queue) become corrupt, it must be physically deleted and recreated either from scratch, or from a backup.
Parent topic:
Planning to install the WebSphere MQ server for iSeries