This script only shows the basic MQe_Script commands to save duplication. Control structures could be placed around the commands or they could be run as is.
set CLIENT client1 set PATH "C:\\MQeScript\\client" set ADDRESS 127.0.0.1 set GATEWAYQM gatewayqm set PORT 1881 set BRIDGEQ bridgeq set BRIDGEQNUM 1 set REALBRIDGENAME mqlocalq set MQNAME QM_jane mqe_script_qm –create –qmname $CLIENT –qmpath $PATH mqe_script_qm –load mqe_script_condef –create –cdname $GATEWAYQM –port $PORT –address $ADDRESS mqe_script_condef –create –cdname $MQNAME –viaqmname $GATEWAYQM mqe_script_sproxyq –create –qname $BRIDGEQ$BRIDGEQNUM –destination $MQNAME –alias $REALBRIDGENAME mqe_script_msg –put –qname $REALBRIDGENAME –qmname $MQNAME