For LoadAll subfile, the SFLSIZ is limited to some 9999* records,
how can I display beyond that one? Is it possible to display more number of records over the limited size?
Software/Hardware used:
Iseries
ASKED:
December 2, 2009 9:40 AM
UPDATED:
December 17, 2009 7:06 PM
My question would be “Why would you want to?” Do you actually have users that are willing to page through 10,000+ records?
You’d be better off doing a SFLSIZ = SFLPAG subfile, where you control all of the positioning and functions in your program. Not as easy as letting the system do it for you, but it’s a lot less resource intensive.
The only way to display records beyond 9999 is to do what Splat said – SFLSIZ=SFLPAG. Coding it is not nearly as easy as a load-all subfile because you have to keep track of where you are in the file, you have to code both page-up and page-down, plus it would be nice if you could code in Top, Bottom and position-to to ease the user’s burden.
Vatchy, I do all of those. It involves a bit of under-the-cover playing around with non-display subfiles & data queues, but it’s stable and it works.
Splay, I didn’t mean to imply that you didn’t and I apologize if it came across that way. I was just offering a general observation.
Vatchy, nothing derogatory was inferred and certainly no offense was taken. I was indulging in a bit of crowing. My apologies for making you think I’d taken umbrage.