× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James,

> 1. Is it possible for a program to find out how long an
> interactive job has been idle?

I asked that 3 years ago in this thread:

http://archive.midrange.com/mi400/200207/msg00177.html

and Gene Gaunt provided a MI solution in his reply, which is at

http://archive.midrange.com/mi400/200207/msg00202.html

which returns a timestamp of the last WS I/O for the job.  The
timestamp can be converted using the QWCCVTDT api.
 
> 2. Is there a way to suppress the "Message queue
> xxxxxxxxxx is allocated to another job." message when a
> given account is signed on when already in use?

AFAIK, you can only do that by not having the MSGQ allocated to the
first session.  That is, use CHGPRF DLVRY(*HOLD) instead of *NOTIFY or
*BREAK.

Doug


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.