Add a Second File Description to your Application Program
The second way to minimize space-extension overhead applies to application programs that add records to an existing database file. First, add a second file description for the file to your processing program, and open that file description for output only. Then, prior to calling the program, issue an OVRDBF (Override Database) CL command specifying SEQONLY (*YES nnnn), where nnnn is the output blocking factor (i.e., 128 K divided by the record length equals nnnn). Be aggressive with the blocking factor and get it as close to 128 K as possible without exceeding it.
Tuesday, March 01, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 Iseries Tips
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 Job Scheduler
- opensourceCMS.com - Try before you install!
- Why Crunch Mode (Long Hours) Doesn't Work
- AS400 APIs
- as400 iSeries NetServer Disabled user profiles
- Creating an as400 Query
- Announcing the Preview Release of Ubuntu 5.10 (Breezy Badger)
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
No comments:
Post a Comment