The build descriptor option validateMixedItems specifies whether a generated COBOL program validates the integrity of DBCHAR strings when an item of type MBCHAR is assigned to an item of type MBCHAR. Valid values are YES and NO. YES is the default.
The value YES means that EGL run-time services raises an error if a DBCHAR string is truncated as a result of a MBCHAR-to-MBCHAR assignment on the mainframe. If the error occurs in an invoked function, the function returns control, and the result depends on code aspects that are described in Exception handling. If the error occurs in the main function, the program ends with an error message.
If your code is meant for the mainframe and assigns values to items of type MBCHAR, and if the error situation is not possible, set validateMixedItems to NO for better run-time performance.
Related reference
Build descriptor options
CHAR
DBCHAR
Exception handling
MBCHAR
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.