Handheld scanner subfile in RPG/400

25 pts.
Tags:
AS/400 Subfiles
RPG/400
RPG/400 Subfile
Subfile
Subfile Display
I have a DSPF with SFLPAG(08) and SFLSIZ(&NBRBXS), which can range from 01 99. The problem is that when the SFLSIZ greater than 08, it will not scroll to the next page to allow scan of the remaining entries.

Answer Wiki

Thanks. We'll let you know when a new response is added.

ran into this years ago. you need to either define the subfile size to match what the screen size of the device OR find the key sequence that will scroll the device screen a page at a time.

-sarge

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    If you still don't have an answer for this, you need to show us the DDS at least. It's hard to come up with guesses without knowing what we're guessing about. How does the scroll-bar appear on the hand-held display? Does it seem normal? Is there any way to access it, e.g., with a stylus? How much room did you allow for it? Also, what does your PAGEUP() coding look like? I would start by being suspicious of the use of a variable in SFLSIZ(&NBRBXS). The original intent was to assist in generating the scroll-bar shape. By supplying an actual value, the size of the subfile, and the current position within it, could be somewhat accurately represented with character graphics. The DDS manual still indicates that SFLEND(*SCRBAR) should be associated with a variable size. Keyboard scrolling works, even with scroll-bars. But I wouldn't trust behavior to be guaranteed unless I followed the reference manual precisely. Given the maximum of 99, I can't quite see how a variable even helps or even makes a difference. It seems to me that SFLSIZ(9) would give essentially the same result. But without seeing all the DDS...? Who knows? Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following