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
- Java Examples - JExamples.com
- iReport - OpenSource Java Reporting Tool
- as400 iSeries NetServer Disabled user profiles
- Create a Custom Live Linux CD - Leveraging BusyBox and OpenSSH
- Search for text in vi or vim
- IBM eServer iSeries - iSeries NetServer: Command Line Setup
- Super $500 Myth Project
- Encode HTML Entities - Showing code in blogs
- HOW TO make a Powerbook in to a Wi-Fi access point!
- Reno County is preparing to move from an AS400 computer system to a personal-computer-based system
No comments:
Post a Comment