|
In addition to needing the MAXDEV keyword on the F-spec, you need to do a separate WRITE and READ from the display file record (do not use EXFMT).
--- Scott Klement http://www.scottklement.com On Thu, 15 Dec 2005, mlazarus@xxxxxxxx wrote:
Dennis, You need to add the MAXDEV() keyword to the F specs. -mark Original Message: ----------------- From: Dennis Nel dvnel.za@xxxxxxxxx Date: Thu, 15 Dec 2005 15:39:13 +0200 To: midrange-l@xxxxxxxxxxxx, rpg400-l@xxxxxxxxxxxx Subject: RPG program with timeout Display file Hi there, I'm sure that I have done this before but today it doesn't seem to be working. I have created a display file with 3 record formats, a subfile with control and a footer format. When I compiled the display file I changed the maximumrecord wait time (WAITRCD) to 30 seconds. (Which, if I remember correctly, will let the display timeout after 30 seconds if no input has been entered) I have a RPG program which will output to this display file, ONLY it doesn't timeout after 30 seconds, it waits for user input, either the Enter key or F3. HELP..
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.