KCL.RESIZELOG
Syntax
KCL.RESIZELOG FILE.NAME | * {CONCURRENT} {(S}
Description
This program can be used to resize a Kourier net change log file. You should run this command as part of your normal file maintenance activities because:
- The physical size of the Kourier net change log file may increase over time since both UniData and UniVerse do not shrink the disk space associated with a file until the file is either cleared or resized.
- The modulo of the application file may have been increased and the Kourier net change file needs to be resized to reflect this change.
Options
FILE.NAME |
The name of application file or "*" to resize all files that have net change enabled. |
CONCURRENT |
An optional parameter that allows for the resizing of a file when users are on the system. This option is only supported on UNIX systems. For UniData, you must be running release 8.1.2 or later. |
(S |
An optional parameter that suppresses the "Are you sure prompt". |
Cautions
Kourier net change files should be resized periodically. Failure to do so may affect the performance of your application.
Unless you specify the CONCURRENT option, this command should not be executed when other uses are on the system since it uses the RESIZE command to reclaim the unused disk space associated with the file. Do not use other file maintenance tools to resize any Kourier net change file since this may have a negative impact on your overall system performance.
Usage
Example 1 - Kourier Net Change Log is Resized
In this example, the Kourier net change log for the CUSTOMER file is resized.
>KCL.RESIZELOG CUSTOMER
KCL.RESIZELOG - 02 FEB 2012
This program will resize one or all of the Kourier net changes files.
!!! WARNING !!! WARNING !!! WARNING !!! WARNING
There are currently 10 users logged into the system. Doing file
maintenance with more than one active user may cause file corruption.
OK to Continue(Y,N=<CR>)? Y
Resized 1 files - Original File Size: 4,608; Current File Size: 4,608; Bytes Saved: 0.