Problem solve Get help with specific problems with your technologies, process and projects.

Subfile 'More...' made easy

Get a subfile to display the "More..." or "Bottom" automatically.

To get a subfile to display the "More..." or "Bottom" automatically is an easy process for subfiles you fill completely...

in one shot. In the subfile control record you need to use the same indicator for both the SFLDSP and SFLEND(*MORE) keywords as follows:

     A  26                                  SFLDSP           
     A  26                                  SFLEND(*MORE)    

Then in your program, when you write your first subfile record so you know you have valid records, turn on the indicator. As the subfile fills up it will automatically put the correct value at the bottom of the screen.


The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on iSeries CL programming