Skip to main content

This article explains how to place a literal in hexadecimal notation in order for the literal to not be treated as a regular literal.

Problem:

During compilation, a ‘COBCH1007E Value literal size > data item size, Literal is truncated.’ error occurs.

Resolution:

In order for the literal value to be treated as a hexadecimal value and not a regular literal, the literal must be placed in hexadecimal notation. To do this, place an
‘h’
or an
‘x’
in front of the literal value. Alternatively, check older copies of the source code to verify that the values are not corrupted or have changed over time.

Incident Number: 2427106

Old KB# 14913