AS400 Subfile rolling back to page one when page down pressed after *bottom displayed.

Posted on 2014-08-28
Last Modified: 2014-08-28
I have a subfile with 9999 as the sflsize and 21 as sflpage.  

I load all records into the subfile and display.  When the screen reaches the end of the data the *bottom is displayed correctly on the screen.  However, when page down is pressed again it restart the display a page 1.  

I don't want to load a page at a time in the program .... is there a setting that will keep it from restarting?

Thank You!
Question by:lynn_harris
    LVL 34

    Accepted Solution


    This is something your program is doing, not something inherent in subfiles.  I suspect that when you hit page down at the end, you are falling back into your "reload" loop and reloading the subfile.

    Run the program under debug, and I think it will probably be apparent what is happening.

    If that doesn't work, post you code and dspf DDS.

    - Gary

    Author Closing Comment

    Hi Gary,

    Yep, it is.  Fixed it.


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now