×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Issues allowing IBM to handle SubFile paging.

Issues allowing IBM to handle SubFile paging.

Issues allowing IBM to handle SubFile paging.

(OP)
If you don't put "pageup", "pagedown", "rollup", or "rolldown" on the display and you just fill the entire subfile before you display the screen, IBM will handle your paging up and down, but is there any way to get the "More..." and "Bottom" words to show up with the subfile when you do it this way? This is a very simple program that may get 50 total records on it's worst week, so populating the whole subfile right off the bad will not hurt efficiency. So I wanted to just allow IBM to handle scrolling so I wouldn't have to deal with all the RRNs and cursors and all that junk. But I can't find a way to show to the user that there are more records to display. Does anyone have any ideas? I tried SFLEND(*MORE) but this is conditional and the screen does not go back into the program with pageup and pagedown so I can't flag it at EOF. Is there anyawy to get this to display. I've already wasted a whole ady on this. Thanks for any help.

RE: Issues allowing IBM to handle SubFile paging.

Just condition SFLEND(*MORE) with the same indicator you use for SFLDSP. Or, conddition it "not" an indicator that you never turn on (such as N99).

Solum potestis prohibere ignes silvarum.

RE: Issues allowing IBM to handle SubFile paging.

(OP)
But if I never turn it on, then the argument will always be true. Every time is displays the screen(granted I use N99) that condition will be true, meaning it will always display "Bottom".

RE: Issues allowing IBM to handle SubFile paging.

Yes, and you want it to always be true. It will show 'More. . .' if the end of the subfile is not on that page.

Solum potestis prohibere ignes silvarum.

RE: Issues allowing IBM to handle SubFile paging.

(OP)
OOO, I misunderstood the syntax then. I thought when it was true it would show "Bottom" (sflEND) and when it was false it would show "More...". I hope that works. Frustrating if I wasted all day on that to find out I had the wrong idea lol

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close