+

Search Tips | Advanced Search

Create default objects

Default objects are created automatically when a queue manager is created. These objects are queues, channels, a process definition, and administration queues. After the default objects have been created, we can replace them at any time by running the strmqm command with the -c option.

When we use the crtmqm command to create a queue manager, the command also initiates a program to create a set of default objects.
  1. Each default object is created in turn. The program keeps a count of how many objects are successfully defined, how many existed and were replaced, and how many unsuccessful attempts there were.
  2. The program displays the results to you and if any errors occurred, directs you to the appropriate error log for details.

When the program has finished running, we can use the strmqm command to start the queue manager.

See Administration using the control commands for more information about the crtmqm and strmqm commands.


Change the default objects

When you specify the -c option, the queue manager is started temporarily while the objects are created and is then shut down again. Issuing strmqm with the -c option refreshes existing system objects with the default values (for example, the MCAUSER attribute of a channel definition is set to blanks). We must use the strmqm command again, without the -c option, if we want to start the queue manager.

To change the default objects, we can create your own version of the old amqscoma.tst file and edit it.

Parent topic: Getting started with objects

Last updated: 2020-10-04