Type of Change: Enhancement
Product: ACUCOBOL-GT
Module: Run Time
New Version: 10.0.0
Machines Affected: All
Known Versions Affected: All
Description of enhancement
A number of changes have been made to transaction management and C$RECOVER.
- It is possible to specifically exclude or include files from transaction management. Use the configuration variables LOG_INCLUDE_PATTERN
or LOG_EXCLUDE_PATTERN to determine the file transactions written to the log file.
- When calling C$RECOVER, the actions performed can be written to a report file using the configuration variable LOG_RECOVER_REPORT.
- The recovery report now includes more detail than was previously included in the file trace. This includes information about
the location in the transaction log from which the run time is reading the current transaction log record, and whether a full
record was read. This will help with diagnosing errors caused by corrupt transaction logs.
Note: Everything written to the recovery report is also included in the run-time trace file, if file tracing is in effect. Of course,
the trace file will include much more information, from other aspects of the run time.
- C$RECOVER now sets the special register RETURN-CODE. This will be set to 0 if C$RECOVER executed successfully, or set to a
transaction error value if unsuccessful.