|
Shiva, Do you have a "dummy" record with the RESUME keyword in your display file? R DUMMY ASSUME 24 79' ' This is important when you have an overlapping window on your display and you want it to behave nicely :) Terry > -----Original Message----- > From: Sivasubrahmanian Ananthakrishnan > [mailto:sivasubrahmanian.ananthakrishnan@wipro.com] > Sent: Thursday, July 18, 2002 9:10 AM > To: cobol400-l@midrange.com > Subject: Read on Display file > > > > This is a multi-part message in MIME format. > -- > Hi all > > I am facing a problem while reading a display file twice > consecutively. > > Logic give below is what I'm trying to do:- > > Perform until F3 is pressed > Write Display file format is Header > Write Display file format is Window > Read Display file format is Window > Read Display file format is Header > Display "Record updated" > End-Perform > > The window format described above displays a warning window and waits > for the user to press enter (Read on Window format). When the user > presses enter it does not wait for the user input on Header > format (Read > on Header). Read on header is automatic and program displays "Record > updated". > > I would like to know why it is not waiting for the user input on the > Header record format (second read) > > Both Window and Header record formats are from the same display file. > > Thanks & Regards > Shiva > > > --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.