Error file

The error file stores the error description, processing results, and number of executions of the command for executing data processing. The error output format and file name can be specified in the Data Processing Settings screen - Log Settings tab or the Data Processing Log tab of the System Environment Settings screen.

You can create any output format by using a format string. When no output format is specified, the error code, details code, error message, number of occurrences, and times of occurrences are output. For details about the Log Settings tab, see DataMagic Reference Manual.

An example of the error file is described below.

Example

When an error occurs:

ERRCODE=053-004
ERRMSG=An error occurred during an attempt to convert from the 'N'
type to the 'X' type in the output file number 1.(Item number: 1)
DTLMSG=One or more fullwidth characters were found during an attempt to convert to the X type. TRNCOUNTONERR=1
TRNTIMEONERR=2011/06/22 11:56:30.747955

When the command ends normally:

ERRCODE=000-000 
ERRMSG=Ended normally
TRNCOUNTONERR=
TRNTIMEONERR=

Description

ERRCODE=Ecode-Scode

Indicates the error code and details code.

Ecode: Indicates the error code (in three digits).

Scode: Indicates the detailed error code (in three digits).

ERRMSG=Message

Indicates the error message.

DTLMSG=Message

Indicates the detailed error message.

TRNCOUNTONERR=Count

Indicates the total number of records processed when the error occurs.

TRNTIMEONERR=YYYY/MM/DD  hh:mm:ss.ssssss

Indicates the date and time when the error occurs.

= Remarks =
  • For details about the error codes, see DataMagic Error Codes and Messages.

  • DTLMSG is generated if ERRMSG alone cannot indicate the cause of the error.