Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Specify LOCLADDR in API call

6 views
Skip to first unread message

Mark

unread,
Jan 30, 2009, 11:33:33 AM1/30/09
to
Hi,

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

glenbadd

unread,
Feb 1, 2009, 9:47:20 PM2/1/09
to
On Jan 31, 3:33 am, Mark <i...@getlotsofspamthankstoplus.net> wrote:
> Hi,
>
> Is there anyway of specifying the MQ channel parameter LOCLADDR in an
> API call (MQCONNX) instead of defining it with the channel itself?
>
> TIA.

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

Mark

unread,
Feb 2, 2009, 5:13:24 AM2/2/09
to

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.

glenbadd

unread,
Feb 2, 2009, 7:53:45 PM2/2/09
to
On Feb 2, 9:13 pm, Mark <i...@getlotsofspamthankstoplus.net> wrote:
> On Sun, 1 Feb 2009 18:47:20 -0800 (PST), glenbadd
>
> <glennbadde...@yahoo.com.au> wrote:
> >On Jan 31, 3:33 am, Mark <i...@getlotsofspamthankstoplus.net> wrote:
> >> Hi,
>
> >> Is there anyway of specifying the MQ channel parameter LOCLADDR in an
> >> API call (MQCONNX) instead of defining it with the channel itself?
>
> >> TIA.
>
> >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.
>
> 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.

0 new messages