Is there anyway of specifying the MQ channel parameter LOCLADDR in an
API call (MQCONNX) instead of defining it with the channel itself?
TIA.
--
(\__/) M.
(='.'=) Owing to the amount of spam posted via googlegroups and
(")_(") their inaction to the problem. I am blocking most articles
posted from there. If you wish your postings to be seen by
everyone you will need use a different method of posting.
See http://improve-usenet.org
The MQCNO structure (version 2 and later) allows a pointer/offset to a
MQCD structure (version 7 and later), where the LocalAddress can be
specified, but I'm not sure if MQ Client honors the setting.
HTH
Glenn
It's very confusing. The documentation only mentions LocalAddress
with MQ v7. However the LocalAddress field appeared in the data
structure at version 6 (MQ v5.3) according to the comments in the
header file.
The version numbers of the MQCD structure also are not clear.
New fields seem to be added to the MQCD structure at all major
releases of MQ.
Whether or not MQ Client MQCONNX does anything with them
is another thing. In fact, it ignores most of the fields, so there is
no point setting them. That's why I wrote
"I'm not sure if MQ Client honors the setting (of LocalAddress)"
MQCD is actually a MQ internal data structure that is used to
manage instances of MQ channels. The only other place
I can think of where it is exposed to the user is in
MQ Channel Exits, as per the WMQ Intercommunication manual.