Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Replicat Abends With OCI Error ORA-01843: Not A Valid Month

$
0
0
Replicat Abends With OCI Error ORA-01843: Not A Valid Month

POSSIBLE REASON: Trying to insert data column with invalid date format.

Add below parameter into replicat param file.

ALLOWDUPTARGETMAP.


MAP GGTEST.DEMO1 TARGET GGTEST.DEMO1, FILTER (@STREQ (@GETENV ("GGHEADER", "OPTYPE"), "INSERT") OR (@STREQ (@GETENV ("GGHEADER", "OPTYPE"), "DELETE")));

REPERROR (-1843, DISCARD)


MAP GGTEST.DEMO1 TARGET GGTEST.DEMO1, FILTER (@STREQ (@GETENV ("GGHEADER", "OPTYPE"), "PK UPDATE")
MAP GGTEST.DEMO1 TARGET GGTEST.DEMO1, FILTER (@STREQ (@GETENV ("GGHEADER", "OPTYPE"), "SQL COMPUPDATE")
MAP GGTEST.DEMO1 TARGET GGTEST.DEMO1, FILTER (@STREQ (@GETENV ("GGHEADER", "OPTYPE"), "UPDATE")));

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>