+

Search Tips | Advanced Search

Preparing to install IBM MQ on IBM i

Carry out the following tasks to prepare the system for an upgrade.


Procedure

  1. Stop the IBM MQ queue managers by issuing the following command:
    ENDMQM MQMNAME(*ALL) OPTION(*IMMED) ENDCCTJOB(*YES) RCDMQMIMG(*YES)
    TIMEOUT(30)
    
    Ensure that the user profile issuing this command has *ALLOBJ authority.
  2. Create a save file for every queue manager library on the system. To do so, issue the command:
    CRTSAVF FILE(QGPL/ queue_manager_library )
    
    where the queue_manager_library name consists of the name of the queue manager preceded by QM.
  3. Save your queue manager libraries into the save files. To do so, issue the commands:
    SAVLIB LIB( queue_manager_library ) DEV(*SAVF)
    SAVF(QGPL/ queue_manager_library )
    
  4. Create a save file for IBM MQ IFS data. To do so, issue the command:
    CRTSAVF FILE(QGPL/QMUSERDATA)
    
  5. Save the IBM MQ IFS data, using the command:
    SAV DEV('/QSYS.LIB/QGPL.LIB/QMUSERDATA.FILE') OBJ('/QIBM/UserData/mqm')
    
  6. If we are going to run IBM MQ on a new machine, transfer the save files to the new machine.
  7. Issue the following command before you upgrade the IBM MQ product, only if the upgrade is required on the same machine.
    1. DLTMQM QMgrName
    2. ENDSBS SBS(QMQM) OPTION(*IMMED)
    3. WRKOBJLCK OBJ(QMQM) OBJTYPE(*LIB)

    Relinquish any locks on the system.

Parent topic: Migrating a queue manager to a later version on IBM i - alternative method

Last updated: 2020-10-04