The maxLen property specifies the maximum number of characters that EGL writes to a database column. You can only use this property with STRING variables. There is no default for the property; however, if you create your STRING variable with a fixed length, it has the same effect as setting the maxLen property.
The maxLen property affects the behavior of the associated variable in relation to a database rather than a UI technology.
Platform | Issue |
---|---|
COBOL generation | The property specifies the length of the input buffer that is allocated for reading a column value from the database. During a database read, the column value is truncated if that value is longer than the specified maxLen. Make sure that the maxLen property is at least equal to the maximum length of a string in the associated column. |