× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Display-screen READ causes program to "hang"
  • From: "Denis Robitaille" <DRobitaille@xxxxxxxxxxxx>
  • Date: Wed, 14 Apr 1999 13:18:13 -0400

The content of the screen was already brought inside your program when you 
pressed the F key. So you dont need to issu a read to your display file after 
tha validation. The action should be as follow:
- display the screen (with a write statement)
- issu a read on the display file
- user enter data then press the F key
- the RPG program does the chain
- then you do the write or update

Denis Robitaille
Cascades Inc
819 363 5187
fax 819 363 5177
DRobitaille@cascades.com

>>> <as400mail@smtpmail.nationcredit.com> 04/14 9:03 am >>>
On interactive display using a screen of DDS type "record," user inputs info.
Upon completion, user presses designated F key for submit of field entries: RPG
program chains to file, to determine whether a record already exists. The
display record is then READ, and depending on outcome of earlier chain (i.e.
indicator status), either WRITE or UPDATE to file is to be performed.

The problem I am having is that at the READ instruction, the program "hangs,"
displays the screen record and essentially "waits" for further keyboard response
before continuing. Otherwise, and afterwardss program concludes fine, but this
display "hang" is bothersome and potentially confusing to a user (i.e. they may
have no idea what it happening and may be waiting for the system to come back
with some message).

I imagine it has something to do with a DDS keyword, but I have tried all kinds
of keywords and combinations and have so far had no success with eliminating
this problem!!! $%^@# (The read is "error-free," i.e. check of indicators.)

Has anyone else had a problem of this nature? Any ideas or suggestions?

David Stobberingh
Nationwide Credit, Inc.
Phoenix, AZ

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com 
+---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.