When you have finished configuring QM1 (as shown in the previous steps in this walkthrough), you need to create a second queue manager called QM2:
mqe_script_qm -create -qmname QM2
To find out more about creating and configuring queue managers, see Configuration by messages overview. For more information on using Java or C to create a queue manager, see Creating a queue manager - step by step. For examples in Java™ and C, see Creating a simple queue manager in Java and Creating a simple queue manager in C.