Focal Point
column Level Error logging....

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/6671076222

April 10, 2007, 03:55 AM
Aquilis
column 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: ENTRYINITIAL

Entry_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


Thanks In Advance,
aquilis
April 11, 2007, 05:03 AM
Aquilis
Actually 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.


Thanks In Advance,
aquilis