IBM Support

CHAR length semantics are required for the AL32UTF8 character set.

Flashes (Alerts)


Abstract

The Maximo Installation Guide does mention that you must set NLS_LENGTH_SEMANTICS = CHAR before you install the tables for a Maximo schema. Failure to do this can cause errors in Database Configure. This only pertains to Oracle.

Content


If the Oracle database instance used for Maximo has been created with the UTF8 character set, you must configure it to use CHAR for NLS_LENGTH_SEMANTICS before you execute the Maxinst utility to create the tables. The following command can be executed when logged in as SYSTEM to make this change:

alter system set NLS_LENGTH_SEMANTICS = CHAR scope = both;

This will immediately change the setting without requiring a restart, and will also make the change permanent in the parameter file.

If you have already created Maximo tables with Maxinst then you should drop the schema and recreate it.

If you have already populated tables with data and cannot drop the schema, you will need to ALTER the definition of every VARCHAR2 column from BYTE to CHAR length type, for example:

ALTER TABLE WORKORDER MODIFY (WONUM VARCHAR2(10 CHAR), DESCRIPTION VARCHAR2(80 CHAR), ... );


Note: if you are using a single byte character set, like English US7ASCII or WE8ISO then BYTE length semantics is equivalent to CHAR and the database can remain as BYTE. If you are using a double byte character set then you will need to use CHAR for NLS_LENGTH_SEMANTICS.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0;6.1;6.2;6.2.1;6.2.2;6.2.3;6.2.4;6.2.5;6.2.6;6.2.7;6.2.8;7.1;7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":null,"Platform":[{"code":"","label":"All"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWK4A","label":"Maximo Asset Management Essentials"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":"All"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

M04584

Product Synonym

MAXIMO

Document Information

Modified date:
25 September 2022

UID

swg21263185