• Subject: Re: Internal Display file overlay
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Fri, 15 Jun 2001 14:51:59 -0700
  • Organization: Pacer International

Ahh, thank you.  FRCDTA did the trick, as I'm already doing EXCEPT
to write data to this record to display.  

A few other people suggested DFRWRT(*NO), but in this case I don't want
the rest of the records to display immediately, only this one.

I was going through the DDS PDF from the IBM site again, and have
gotten up as far as EDTWRD.  I think I'm going to continue reading it
through again for Display File Keywords.  Incidentally, I didn't see DFRWTR
in the list of keywords for display files (I even scrolled back and checked).
I wonder why (not)?

Thanks!

Regards,

Jim Langston

Me transmitte sursum, Caledoni!

Scott Klement wrote:
> 
> Normally, OS/400 waits until you do an input operation from the screen
> before it actually displays the screen to the user.  The idea is that
> if you're going to output multiple times, it's more efficient to do all
> the output into a buffer, and then dump the buffer to the terminal once.
> 
> The FRCDTA DDS keyword is used to override this behavior.  When using
> FRCDTA, every time you do a write operation to your display file, the
> screen will appear for the user.   This is assuming, of course, that
> you used DDS to create your screen...  The only other method of making
> display files that I can think of is via the Sys/36 environment, and
> I'm not entirely sure how you'd do a "FRCDTA" in that situation.
> 
> Then, in your RPG program, you need to do an output operation to the
> display when you want it to show up.   As you pointed out, you can't
> use the WRITE operation unless you also pass a data structure that
> displays the fields to be displayed.   The other alternative, is to
> use EXCPT, and create output specs for your display -- that would be
> the traditional way of working with a "program described" file.
> 
> HTH
> 
> On Fri, 15 Jun 2001, Jim Langston wrote:
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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:
Replies:

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.