When you have created the queue manager called QM1, you need to start it.
mqe_script_qm -load
When no name is supplied, this command starts the queue manager that has just been created. If you want to know how to load a queue manager and specify the INI file, see the documentation supplied with MQe_Script.
For more information on using Java or C to start a queue manager, see Starting queue managers. For examples in Java™ and C, see Starting queue managers in Java and Starting queue managers in C.