OK - missed that - sorry.
No expert on this - just on how to make the calls work in RPG!
But a quick google led me to this page which appears to indicate that there are commands related to connecting two systems and commands that apply to local and remote systems. There are also API equivalents for the CL commands.
If this doesn't point you in the right direction, since you are paying IBM for this stuff, I would suggest a call to their support line. This cannot be rocket science - I know several of my former clients who only ever used MQ with remote systems - they didn't use it locally at all.
Jon Paris
Original Message:
Sent: 11/23/2021 5:21:00 AM
From: Dennis Nel
Subject: RE: Connecting to a MQ Queue manager via ILE RPG that is not on the IBM i
Hi Jon
Thanks for the link, always helpful to have it saved for future reference.
We have been using RPG to connect to a local MQ Queue Manager for years and it's really working well.
The ask here is. How to connect to a MQ Queue manager that is NOT local to the IBM i?
I cannot seem to find where I could "define" this MQ Queue manager. Where could I define the ip address of the new host as well as other data like user & password?
The MQCONN API call doesn't have parameters for host, ip, port, user or password.
So I'm wondering if there is a "configuration" file that must be configured?
Thanks for your help
------------------------------
Dennis Nel
------------------------------