|
Mike Cunningham wrote:
we got tired of dealing with this issue and wrote a generic RPG that we call whenever we get a record lock passing it the message data from the SDS data structure. The called RPG utility does a sndbrkmsg to the person holding the lock asking them to get out and displays a screen to the person asking for the lock showing them the person who has the lock and their office phone number. It also sends an email to the person holding the lock in case they are not in the 5250 screen at the time. If the same person gets sent the same lock message more than 5 times we also end the job to release the lock. Helps a lot with automated night processes when users go home and keep records locked.
Mike, Now that is just too cool. How did you do all of that? * Jerry C. Adams *IBM System i Programmer/Analyst B&W Wholesale Distributors, Inc.* * voice 615.995.7024 fax 615.995.1201 email jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>
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.