April 10, 2007, 03:55 AM
Aquiliscolumn Level Error logging....
Hi all....
We have gone over DataMigrator's default error logging capabilities and found that the reject record handling is at the row level (separate reject files for DBMS errors, Format errors etc).
We need assistance to indicate possible ways to implement column level error logging.
For Eg:
Source Table: ENTRYINITIALEntry_rowid INTEGER
Entry no VARCHAR(10)
Entry_date VARCHAR(12)
Cif_amt VARCHAR(20
Target Table:
Entry_no INTEGER
Source_rowid INTEGER
Entry_date DATE
Cif_amt DECIMAL(16,2)
Requirement is
...........................
Error Logging(should Be as):
............................
Errorlog_id INTEGER System gen.. unique id)
Table_name CHARACTER(30)
Row_id INTEGER
Column_name CHARACTER(30)
Error_msg VARCHAR(255)
Constraints/Tranformation rules:
1) Entry_no ....Should be numeric.
2)Entry_date..a) Valid date in DD-MM-YYYY format
b) Date < currentdate
3)Cif_amt ...cif_amt >=0
April 11, 2007, 05:03 AM
AquilisActually i am having problem errorlogging table,
which includes "Column_name". how can we track that column_name which is causing erorrs.
like DBMS error or this column has got Format Errors.