purpose of sflsiz

1215 pts.
Tags:
SFLSIZ
Subfile
Subfile Size
What is the purpose of sflsiz in load all subfile

Answer Wiki

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

Hi,

By using a combination of SFLSIZ and SFLPAG you indicate whether the subfile is a load all, self-extending or page at a time subfile.

Regards,

Martin Gilbert.

There is an excellent tutorial on subfiles by Kevin Vandever here;

http://www.itjungle.com/mpo/mpo050803-story04.html

http://www.itjungle.com/mpo/mpo052203-story04.html

http://www.itjungle.com/mpo/mpo060503-story04.html

Regards,

Sloopy

============================================================

SFLSIZ determines how much memory is allocated when you open your display file. When SFLSIZ is greater than SFLPAG, the system is allowed to increase the memory allocation whenever you add subfile records beyond the capacity of the current allocation.

For a load-all (or an expanding) subfile, this means that you don’t need to be concerned about how many subfile records you create until you reach the physical limit of 9999 subfile records.

The system recognizes the special case of SFLSIZ equal to SFLPAG. The memory allocation never changes. This is the special case of a page-at-a-time subfile.

The best value for SFLSIZ should be enough to handle maybe 80% of all requests. If you know that there will always be, say, 100 subfile records, then it simply wastes system CPU resources when you specify SFLSIZ less than 100.

There has been a historical practice of specifying SFLSIZ to be SFLPAG+1. The only reasons for it are that it’s easy to do and easy to remember.

Tom

Discuss This Question:  

 
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

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