Author |
Message |
Topic: Why mqExecute NOT delete the reply message from reply queue? |
gaojingyu
Replies: 0 Views: 1691
|
Forum: General IBM MQ Support Posted: Wed Aug 26, 2009 9:53 pm Subject: Why mqExecute NOT delete the reply message from reply queue? |
Hi,
I have used mqExecute to send a PCF comand and inquire all the queues under a queue manager, but sometimes, the reply message not deleted from the reply queue, any suggestion?
BTW, I specifi ... |
Topic: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
gaojingyu
Replies: 6 Views: 5862
|
Forum: General IBM MQ Support Posted: Thu Jul 16, 2009 5:20 pm Subject: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
PCF and MQSC should give identical data in return.
So if you are issuing the proper INQUIRE QSTATUS command message, the PID value in the response message should hold the same data as is returned b ... |
Topic: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
gaojingyu
Replies: 6 Views: 5862
|
Forum: General IBM MQ Support Posted: Thu Jul 16, 2009 5:16 pm Subject: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
maybe MQIACF_THREAD_ID is what you are looking for ?
MQIACF_THREAD_ID is the thread identifier of the application that has opened the specified queue. whether or no I have tested it, it cann't work ... |
Topic: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
gaojingyu
Replies: 6 Views: 5862
|
Forum: General IBM MQ Support Posted: Thu Jul 16, 2009 2:30 am Subject: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
either run that mqsc stuff as script with file output and read the output file in your program, or issue the display command as pcf command from your program directly to mqseries and read the output f ... |
Topic: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
gaojingyu
Replies: 6 Views: 5862
|
Forum: General IBM MQ Support Posted: Thu Jul 16, 2009 12:00 am Subject: How to inquire the OSS PIDs of the QUEUE consumers on HP? |
We have a requirement to inquire the OSS PIDs of the QUEUE consumers on HP nonstop platform using C language.
Take it for example
in MQSC, the dis qstatus result as below:
dis qstatus('mq_monit ... |
Topic: What's difference between MQIACF_PROCESS_ID and actual pid? |
gaojingyu
Replies: 8 Views: 6975
|
Forum: General IBM MQ Support Posted: Wed Jul 15, 2009 1:26 am Subject: What's difference between MQIACF_PROCESS_ID and actual pid? |
And you do know what process amqrmppa is, I hope? Find out, and part of your question will be answered...
Thanks a lot for your answer.
I have set the client connection channel to MQCNO.Clien ... |
Topic: What's difference between MQIACF_PROCESS_ID and actual pid? |
gaojingyu
Replies: 8 Views: 6975
|
Forum: General IBM MQ Support Posted: Tue Jul 14, 2009 1:55 am Subject: What's difference between MQIACF_PROCESS_ID and actual pid? |
And what does the 'actual' PID correlate to, and what child processes might that have spawned?
The ps of consumer as below, no child process which pid is 20072:
bash-3.00$ ps -ef|grep -v grep|grep ... |
Topic: What's difference between MQIACF_PROCESS_ID and actual pid? |
gaojingyu
Replies: 8 Views: 6975
|
Forum: General IBM MQ Support Posted: Tue Jul 14, 2009 1:19 am Subject: What's difference between MQIACF_PROCESS_ID and actual pid? |
If stopped the consumer, the consumer count list by my program is 0. So the count of consumers listed by my program is right, but the consumer id not the actual process id. |
Topic: What's difference between MQIACF_PROCESS_ID and actual pid? |
gaojingyu
Replies: 8 Views: 6975
|
Forum: General IBM MQ Support Posted: Tue Jul 14, 2009 1:13 am Subject: Re: What's difference between MQIACF_PROCESS_ID and actual p |
I have written a program to list the consumer PIDs on a specified queue by inquire MQIACF_PROCESS_ID attribute, but why the value I got isn't the actual process id of the listener?
Because the list ... |
Topic: What's difference between MQIACF_PROCESS_ID and actual pid? |
gaojingyu
Replies: 8 Views: 6975
|
Forum: General IBM MQ Support Posted: Tue Jul 14, 2009 12:58 am Subject: What's difference between MQIACF_PROCESS_ID and actual pid? |
I have written a program to list the consumer PIDs on a specified queue by inquire MQIACF_PROCESS_ID attribute, but why the value I got isn't the actual process id of the listener? |
Topic: How to inquire the PIDs of the QUEUE consumers? |
gaojingyu
Replies: 2 Views: 5388
|
Forum: IBM MQ API Support Posted: Sun Jan 04, 2009 1:24 am Subject: How to inquire the PIDs of the QUEUE consumers? |
I'm working on a MQ Monitoring Tool with C language now.
What I have known is only the QUEUE NAME, is there any method that I can get the PIDs of all the consumers on this queue?
If using PCF ... |