+

Search Tips | Advanced Search

End IBM MQ activity on IBM i

End IBM MQ applications and connections, and remove any unwanted or indoubt messages.


About this task

Before performing a slip installation or side-by-side installation, carry out the following procedure:


Procedure

  1. Sign on to the system with a user profile that has *ALLOBJ special authority, for example QSECOFR.
  2. Stop all applications that are using the existing version of IBM MQ. To identify applications using the queue manager, use the command WRKMQM, option 22, Work with queue manager jobs, to help find them. Ignore jobs starting with AMQ* or RUN* and focus on the application job names.
  3. End all channels for all queue managers on the system. To do so, use the WRKMQMCHL command and select option 15.
  4. On each queue manager, end the command server. To do so, enter the command:
    ENDMQMCSVR MQMNAME( QMGRNAME ) OPTION(*IMMED)
    
    where QMGRNAME is the name of the queue manager.
  5. Remove any unwanted messages from your queues.
  6. Resolve any in-doubt messages that are held by sender or server channels. To do so, use the WRKMQMCHST command and select option 17.
  7. On each queue manager, save the latest media recovery checkpoint. To do so, enter the following command:
    RCDMQMIMG OBJ(*ALL) OBJTYPE(*ALL) MQMNAME( QMGRNAME ) DSPJRNDTA(*YES)
    

Parent topic: Migrating a queue manager to the latest version on IBM i

Last updated: 2020-10-04