connect to remote MQ-QManager

Hi ,
I need to connect to a remote MQ Manager using shell script. Please help.

thanks in advance
Satya