|
> Sushmita wrote: > Hi, I am working on a research item. When an application is running > on an AS400 screen, for e.g some maintenance Menu, if the user closes the > window by clicking 'X' which is on the top right corner instead of signing > off, how do we track that the window is closed?? > > Or can we have a cut off time set which will detect that the system is > idle for a period of time and close the session? > > How can we achieve this? Sushmita - I once thought it would be nice to create a command named KILSTPUSR (Kill Stupid User) that would send 110 volts through the keyboard (in your case the mouse) - essentially my version of the Darwin awards. If you are trying to make the AS/400 job end in a more controlled fashion, you can put code in RPG programs to detect that an error has occurred on a READ to a workstation file in an RPG program. If you don't have the source for the application, you'll have to rely on other means, such as system values, to minimize the amount of time that the failed interactive job stays active in the subsystem: QDEVRCYACN *SYSCTL Device I/O error action QDSCJOBITV *SYSCTL Time interval before disconnected jobs end Can I digress? From Tata's web page: http://www.tcs.com/0_about_us/corporate_profile/index.htm Projects for over 1000 clients in more than 55 countries. Our clients get measurable business results, which is why many Fortune 500 companies prefer us. More than 100,000 person years of experience in diverse business domains and technology areas. Knowledge accumulation through collaborative research with industry and academia, and partnerships with global technology leaders. Over 28,000 consultants, a range of world-class products, proven offshore development capabilities, and multiple SEI CMM Level 5 centres. Total revenues of Rs 5,012 crore ($ 1.04 billion) in the year ended March 31, 2003. TCS believes that IT is a key factor for social change and is committed to several community development ventures. Research, huh? Excuse my ranting, BUT: You work for Tata Consulting Services, the largest Indian consulting firm. I would think that one or two of those 28,000 consultants would be able to answer your question as well or BETTER than me. Don't you have a few AS/400 - iSeries experts at your disposal? But what would I know? I'm just a middle-aged dinosaur, a legacy AS/400 programmer that needs to be retrained, according to my President - and I'm trying to help YOU! Regards, Steve Landess Austin, Texas (512) 423-0935
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.