Specifications
CHAPTER 2 Working with Libraries
Users Guide 67
Optimizing libraries
You might need to optimize your libraries occasionally. Optimizing removes
gaps in libraries and defragments the storage of objects, thus improving
performance.
Optimizing affects only layout on disk; it does not affect the contents of the
objects. Objects are not recompiled when you optimize a library.
❖ To optimize a library:
1 In either Tree view or List view, choose the library you want to optimize.
2 Select Library>Optimize from the menu bar, or select Optimize from the
library’s pop-up menu.
InfoMaker reorganizes the library structure to optimize object and data
storage and index locations. Note that InfoMaker does not change the
modification date for the library entries. InfoMaker saves the unoptimized
version as a backup file in the same directory.
The optimized file is created with the default permissions for the drive
where it is stored. On some systems new files are not shareable by default.
If you see “save of object failed” or “link error” messages after optimizing,
check the permissions assigned to the PBL.
If you do not want a backup file
If you do not want to save a backup copy of the library, clear the Save
Optimized Backups check box in the Library painter’s Design>Options
tab dialog box. If you clear this option, the new setting remains in effect
until you change it.
Regenerating library entries
Occasionally you may need to update library entries. For example:
• When a PowerBuilder developer modifies a form style using a window in
imstyletradition115.pbl or imstylecontemp115.pbl, the developer is
modifying an ancestor object and you should regenerate forms (the
descendants) so that they pick up the revisions to their ancestor.