|
Scott, I've written a program that does just what you want. It's pretty simple to do: first a little setup needs to be done. Create a message queue to recieve the messages from the system value QINACTMSGQ. Write a program to recieve those messages. From there you get the job/user/number. You can then check the user against your file of "excluded users". I included another test for the users normal working ours, so as not to cancel the operations staff. It's pretty simple once you have the information in your possesion. Bryan Dietz 3X Corp. "Scott Swaim" <scott@qualitycorps.com> on 08/14/98 12:12:42 PM Please respond to MIDRANGE-L@midrange.com To: "Midrange List" <MIDRANGE-L@midrange.com> cc: (bcc: Bryan Dietz/Columbus/3X Corp) Subject: Looking for advice. I need some input from this great list. When a user signs onto the system the initial startup puts their user name into the *LDA. This is then used by my distribution package to put their name onto all of the document that print from them. e.g. Pick Tickets, Telephone inquiries, etc. The problem that is occurring is that a user will leave for lunch and not sign off. Another user will then sit down at their desk and produce a document. I need a way to selectively disconnect a terminal based on user profile, when their is no activity. The system will disconnect a job but it will do it for all terminals. This is not acceptable. FYI a little company information. The company was started in 92 with originally 5 employees. The president/owner, The sales manager - owners son, a salesman, and accountant, and me. The "problem users are the president and salesmanager. We are a very small company. TIA Scott Swaim scott@qualitycorps.com (The opinions expressed are not necessarily those of my employer, unless they are correct. They would like as much credit as possible.) +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.