Darren,
You are right, that the message monitor does not yet work best. The "remove message" problem is hard to explain, but the core problem is, that the QMHRCVM API sits on the message queue waiting for incoming messages all the time. Actually that is a similar problem as when you start a 5250 sessions and then try to remove messages from a second 5250 session. The first session put an *EXCL lock on your message queue, which prevents the second session from removing messages.
I still think about how to improve the program flow.
Of course it was great if we could remove messages from a monitored message queue.
Thomas.
-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von darren@xxxxxxxxx
Gesendet: Montag, 1. Februar 2016 20:32
An: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Betreff: Re: [WDSCI-L] iSphere Plug-in 2.8 released
Not able to delete messages in the iSphere message filter. It says
that the message queue is allocated to another job (CPF2451). But, I
don't
find
any usage except by the batch QZRCSRVS job being run by iSphere.
Okay, I see it in the documentation. You cannot remove messages from a queue being monitored by the iSphere plugin. Strangely, you can send a message, that the plugin is apparently monitoring for, and it will clear it when that command is sent but will not if you ask it to through the UI.
SNDMSG MSG('*REMOVE_ALL') TOUSR(user_profile)
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
As an Amazon Associate we earn from qualifying purchases.