When you want to put a message on a remote queue (that is, a queue owned by a queue manager other than the one to which your application is connected) rather than a local queue, the only extra consideration is how you specify the name of the queue when you open it. This is described in Opening remote queues. There is no change to how you use the MQPUT or MQPUT1 call for a local queue.
For more information on using remote and transmission queues, see WebSphere MQ Intercommunication.