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")));
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")));