Thanks for the explanation, that helped a lot.  I believe both you and Booth 
suggested the FRCDTA method and it is appreciated....especially now that I 
understand what is happening.

Douglas


On Thu, 16 Mar 2006 15:14:52 -0500, Douglas Handy wrote
> Douglas,
> 
> For some reason though, it does not update the display file until 
> after all
> > records have been processed.
> 
> By default, DSPFs will be compiled with DFRWRT(*YES), which 
> optimizes 5250 data streams by not sending output operations until 
> you also do an input. You can override that behavior with one of two 
> ways:
> 
>  - Use DFTWRT(*NO) on the CRTDSPF (or OVRDSPF), which affects all 
> formats in the display file - Add keyword FRCDTA (force data) to the 
> record format(s) which you want output immediately
> 
> I prefer the second method since:
> 
>  - It leaves other formats optimized
>  - It is more self documenting in the source
>  - You don't need to remember to specify anything special on the 
> CRTDSPF (or use a tool to do it for you)
> 
> Doug
> -- 
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
>  mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To 
> subscribe, unsubscribe, or change list options, visit: 
> http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-
> L-request@xxxxxxxxxxxx Before posting, please take a moment to 
> review the archives at http://archive.midrange.com/rpg400-l.


If you bought it, it was hauled by a truck - somewhere, sometime.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.