× 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.



Still using 2400 baud dial up lines?

If not, there's little reason to continue to use PUTOVR & OVRDTA...

Nothing jumps out at me as being wrong. However, what's you're RPG code
look like?

Are you reading the screen after writing the new SFLCTL?

Check the Defer write (DFRWRT) parmaremeter of your display file. By
default on a CRTDSPF, this is *YES. Which means that the system doesn't
actually send the screen to the device until a read is done.

On Tue, Dec 22, 2015 at 7:30 AM, Mohan Eashver <mohankva@xxxxxxxxx> wrote:

Hi,

I have a DSPF that is compiled with RSTDSP(*YES) & this displays a SFL
(with SFLINZ & SFLRNA).
And allows user to add new entries & press to F10 to save.
I loop thru SFL & validate & save data to DB file.
Also while looping thru SFL, I count the number of records entered on the
SFLCTL.
I re-initialize the SFL & then I display the count (LS_#PLTPKD) on SFLCTL.
The new count never shows up on SFLCTL. The DSPF field sustains the same
old stale data that is was originally written with.

I have OVERLAUY & PUTOVR at record level....then i got OVRDTA at the field
level.
What am I doing wrong ? 😕

* A R LPNSCNSLOC SFLCTL(LPNSCNSLOS)*
* A PUTOVR*
* A OVERLAY*
* A SFLSIZ(0050)*
* A SFLPAG(0010)*
* A 40 SFLINZ*
* A SFLRNA*
* A 41 SFLDSP*
* A 42 SFLDSPCTL*
* A 43 SFLEND(*MORE)*

* A CF09(09 'Update')*
* A CF10(10 'Update')*
* A CF13(13 'Fast Entry')*

* A 8 37'Pallets Picked :'*
* A LS_#PLTPKD 7 0O +1EDTCDE(Z)*
* A OVRDTA*

----
Regards,
Mohan Eashver
--
This is the RPG programming on the IBM i (AS/400 and 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.



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.