|
I have the following on my display file; INVITE keyword. I have setup the display file to have a waitrcd of 600. In my RPG module I have setup the display file with the following; MAXDEV(*FILE) INFDS(DS010) D DS010 DS D @@STAT *STATUS Then I'm checking for this after each write and read to the display file; if @@stat = 1331;My problem is if press {Enter} twice very quickly the module gets a CPF4737.
I've tried a exfmt(e) instead of a write and read but when I do that I can't get the timeout. @@stat = 1331.
How do I allow for tracking for the waitrcd on the display file being reached as well as handling the quick multiple entries?
Thanks Andy
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.