1945-Database Error While Inserting PMOBJECTS_SECURITY
Problem
1945-Database error.
Description
While inserting PMOBJECTS_SECURITY, sometimes you encounter the following database error:
1945-Database error: fil_pmosec_insert_array() Unable to execute statement (INSERT INTO SWPRO.PMOBJECTS_SECURITY VALUES (:1, :2, :3, :4)) (Statement ID - 406) (ORA-12899: value too large for column "SWPRO"."PMOBJECTS_SECURITY"."ATTRIB_EXPR" (actual: 514, maximum: 513)).
What to do
This database error is caused by wrong NLS_LANG setting for UTF8. It is different for different database.To resolve this, check and perform the following tasks:
For ORACLE:
| — | export NLS_LANG=American_America.AL32UTF8(NLS_CHARACTERSET on database server and the NLS_LANG env should match ) |
DB2:
| — | export DB2CODEPAGE=1208 |