Home

 

Managing services

 

By using the CONTROL parameter, an instance of a service object can be either started and stopped automatically by the queue manager, or started and stopped using the MQSC commands START SERVICE and STOP SERVICE.

When an instance of a service object is started, a message is written to the queue manager error log containing the name of the service object and the process id of the started process. An example log entry for a server service object starting follows:

  02/15/2005 11:54:24 AM - Process(10363.1) User(mqm) Program(amqzmgr0)
  AMQ5028: The Server 'S1' has started. ProcessId(13031).

  EXPLANATION:
  The Server process has started.
  ACTION:
  None.
An example log entry for a command service object starting follows:
  02/15/2005 11:53:55 AM - Process(10363.1) User(mqm) Program(amqzmgr0)
  AMQ5030: The Command 'C1' has started. ProcessId(13030).

  EXPLANATION:
  The Command has started.
  ACTION:
  None.
When an instance server service stops, a message is written to the queue manager error logs containing the name of the service and the process id of the ending process. An example log entry for a server service object stopping follows:
  02/15/2005 11:54:54 AM - Process(10363.1) User(mqm) Program(amqzmgr0)
  AMQ5029: The Server 'S1' has ended. ProcessId(13031).

  EXPLANATION:
  The Server process has ended.
  ACTION:
  None.

 

Parent topic:

Working with services


fa11410_


 

Home