Apart from assuring the database log file is truncated with PROLOG before it reaches 2GB in size:
Workaround: OFFLINEa. Use OS utilities to archive the current database lg file for later reference
b. Instead of running PROLOG, delete the database lg file
Workaround1: ONLINE upgrade to OpenEdge 11.7.3 Use the
lgTruncateSize database startup parameter to manage the database logfile before it reaches 2 GB, which is arguably too large for practical parsing analysis:
- -lgTruncateSize - The maximum size the database log file can grow before truncation (in megabytes)
For further information refer to Article
How truncate the log file while the database is running since 10.1A Workaround2: ONLINE Use OS Utilitiesa. Use OS utilities to archive the current database lg file for later reference
b. First check for size of lg file before running PROLOG:
Example: [UNIX]:
SIZE=`ls -ls dbname.lg | awk '{ print $1 }'`
if [ $SIZE -lt 2097152 ] # if lg file is < 2 GB
then
prolog dbname.lg
fi
Example [WINDOWS]:
for /f %%a IN ('dir /b *.lg') DO (
if 2097152 geq %%~zF call runprolog.bat %%~na %%~xa
)
# runprolog.bat
CALL prolog %1
c. An alternative method is described in Article How to truncate a database log when the database is online.