Hi Neil.
> And what is the actual maxmsgl of the
SYSTEM.ADMIN.COMMAND.QUEUE?
Yes, the maxmsgl of SYSTEM.ADMIN.COMMAND.QUEUE is 9000.
> And if it's not 9000, what is 0x9000, and is
the maxmsgl equal to that?
It is 9000 decimal (not hexadecimal).
You're thinking what I was thinking originally but since the command
server is issuing the Inquire every 20 seconds, I just thought I was
crazy. Of course, now I have to ask, why is the command server
issuing an Inquire for the maxmsgl value every 20 seconds!!
Here's the log of activity (Process Id 05224 is the command
server):
18:14:50.250,
ConnxBefore, ProcessId=05224, ThreadId=1, CC=0, RC=0, HConn=2090030248,
QMgrName=MQWT2, ConnName=, UserId=rlacroix, CNO_Version=5,
CNO_Options=MQCNO_SHARED_BINDING, CNO_ConnId=, PgmName=ebSphere
MQ\bin\amqpcsea.exe, PgmType=MQXACT_EXTERNAL,
Environment=MQXE_COMMAND_SERVER
18:14:50.265, ConnxAfter , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, QMgrName=MQWT2, ConnName=, UserId=rlacroix, CNO_Version=5,
CNO_Options=MQCNO_SHARED_BINDING,
CNO_ConnId=414D51434D5157543220202020202020EA9B8D4B20000601,
PgmName=ebSphere MQ\bin\amqpcsea.exe, PgmType=MQXACT_EXTERNAL,
Environment=MQXE_COMMAND_SERVER
18:14:50.265, OpenBefore , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=1323464, ObjectQMgrName=,
ObjectName=SYSTEM.ADMIN.COMMAND.QUEUE, ObjectType=MQOT_Q,
Options=MQOO_INPUT_EXCLUSIVE+MQOO_INQUIRE+MQOO_BIND_AS_Q_DEF+MQOO_SAVE_ALL_CONTEXT,
DynamicQName=AMQ.*, AlternateUserId=, AlternateSecurityId=,
ResolvedQMgrName=, ResolvedQName=
18:14:50.265, OpenAfter , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=25536856, ObjectQMgrName=,
ObjectName=SYSTEM.ADMIN.COMMAND.QUEUE, ObjectType=MQOT_Q,
Options=MQOO_INPUT_EXCLUSIVE+MQOO_INQUIRE+MQOO_BIND_AS_Q_DEF+MQOO_SAVE_ALL_CONTEXT,
DynamicQName=AMQ.*, AlternateUserId=, AlternateSecurityId=,
ResolvedQMgrName=MQWT2, ResolvedQName=SYSTEM.ADMIN.COMMAND.QUEUE
18:14:50.265, InqBefore , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=1310720, CharAttrLength=0, CharAttrs=
18:14:50.265, InqAfter , ProcessId=05224, ThreadId=1, CC=0,
RC=0, HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:14:50.265, InqBefore , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:14:50.265, InqAfter , ProcessId=05224, ThreadId=1, CC=0,
RC=0, HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:15:10.265, InqBefore , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:15:10.265, InqAfter , ProcessId=05224, ThreadId=1, CC=0,
RC=0, HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:15:30.265, InqBefore , ProcessId=05224, ThreadId=1, CC=0, RC=0,
HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
18:15:30.265, InqAfter , ProcessId=05224, ThreadId=1, CC=0,
RC=0, HConn=8807024, HObj=25536856, SelectorCount=1, Selectors=13,
IntAttrCount=1, IntAttrs=9000, CharAttrLength=0, CharAttrs=
The log repeats the Inquire every 20 seconds until I stop the
queue manager.
Does anyone from IBM want to explain what I am seeing?
Regards,
Roger Lacroix
At 05:34 AM 3/3/2010, you wrote:
Hi Roger,
so does the handle in the Inquire call equal the handle returned by the
Open?
And what is the actual maxmsgl of the
SYSTEM.ADMIN.COMMAND.QUEUE?
And if it's not 9000, what is 0x9000, and is the maxmsgl equal to
that?
Actually, I can answer the first bit of the last question... 0x9000 =
36864 
Regards,
Neil.
On 03/03/2010, at 5:07 PM, Roger Lacroix wrote:
> Hi Neil,
>
> Actually, the API Exit receives the same info for both 'before and
'after' calls to the Inquire interace. The only MQOPEN performed by
the command server was to SYSTEM.ADMIN.COMMAND.QUEUE.
>
>
> Regards,
> Roger Lacroix
>
> At 12:34 AM 3/3/2010, you wrote:
>> Hi Roger,
>>
>> isn't 9000 the response value? Or on the BEFORE call it would be
unitialized storage.
>>
>> On the AFTER call, it should be the value of MAXMSGL of the
object which was inquired on. You would need to trace back to the MQOD on
the MQOPEN call which creates the handle to work out which object that
is.
>>
>> Regards,
>>
>> Neil Casey.
>>
>>
>>
>> > Roger Lacroix <roger.lacroix-F8msR03N6m5XrIkS9f7CXA@public.gmane.org> wrote:
>> >
>> > All,
>> >
>> > I've created an API Exit to do some testing. I'm
running it on WMQ
>> > v6.0.2.7 on WinXP.
>> >
>> > I'm scratching my head over data being passed on the API
Exit's
>> > Inquire interface. Note: I've registered both the
MQXR_BEFORE and
>> > MQXR_AFTER for the MQXF_INQ (Inquire Interface).
>> >
>> > Every 20 seconds, the command server issues an MQ
Inquire
>> > command. The data the API Exit Inquire interface is
receiving is:
>> > SelectorCount=1
>> > Selectors=13
>> > IntAttrCount=1
>> > IntAttrs=9000
>> > CharAttrLength=0
>> > CharAttrs=
>> >
>> > I thought the "Selectors" values come from MQIA_*
and MQCA_*
>> > values. 13 is MQIA_MAX_MSG_LENGTH. Also,
IntAttrs has a value of
>> > 9000 but there is no such value from MQIA_* or MQCA_* or
anything
>> > else that I could find.
>> >
>> > When I run a program to issue a PCF call to list the
queues, the
>> > "Selectors" and "IntAttrs" have values
from MQIA_* and MQCA_* but the
>> > command server's Inquire call does not make sense and what
is 9000?
>> >
>> > Anybody got any guesses? (Anybody from IBM want to
chime in?)
>> >
>> > Maybe I'm still high from the Olympics but it doesn't make
any sense to
>> > me.
>> >
>> >
>> > Regards,
>> > Roger Lacroix
>> >
>> > To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+2wyY2g16FtwPuJ0ROkVbw@public.gmane.org
and,
>> > in the message body (not the subject), write: SIGNOFF
MQSERIES
>> > Instructions for managing your mailing list subscription
are provided in
>> > the Listserv General Users Guide available at
http://www.lsoft.com
>> > Archive:
http://listserv.meduniwien.ac.at/archives/mqser-l.html
>>
>> To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+2wyY2g16FtwPuJ0ROkVbw@public.gmane.org
and,
>> in the message body (not the subject), write: SIGNOFF
MQSERIES
>> Instructions for managing your mailing list subscription are
provided in
>> the Listserv General Users Guide available at
http://www.lsoft.com
>> Archive:
http://listserv.meduniwien.ac.at/archives/mqser-l.html
>
List Archive -
Manage Your List Settings -
Unsubscribe
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com