Product Documentation

c-treeACE V10.0 Release Notes

Previous Topic

Next Topic

Diagnostic Logging of PCRP_ERR (724) and KLNK_ERR (25) Errors

PCRP_ERR

PCRP_ERR (724) is generated when the current context of a partitioned file is not correct. For example, rewriting a record without a prior read record, or performing a next record operation without a prior first or equal record operation. To help explain unexpected PCRP_ERR errors, a configuration keyword, DIAGNOSTICS PCRP_ERR, can be specified in ctsrvr.cfg. enabling diagnostic logging when a PCRP_ERR (724, bad current ISAM position for host) is returned. A message is logged to CTSTATUS.FCS and creates a process stack trace (minidump) of the process when this configuration is active.

An example message is shown below:

PCRP_ERR: ctpartno(), file <filename>

PCRP_ERR: ctunfoldpartno(), file <filename> loc <location>

PCRP_ERR: subno=<subno> dnum->ptcur=<ptcur> dnum->ptmbr=<ptmbr>

KLNK_ERR

A KLNK_ERR (25) results when an internal index node link is determined incorrect, or missing. As this is a very rare occurrence, it can be extremely difficult to isolate the conditions leading to this error. When a KLNK_ERR error now occurs, a stack dump of the c-tree Server process is created (at most once every 5 minutes) to provide a complete picture of the state of the system at that time.

TOCIndex