COBOL/400 Language Help

length

Length must be a numeric literal or an arithmetic expression.

The evaluation of length must result in an integer that is greater than zero, and less than 32 768. If length is not specified, the unique data item created extends from and includes the character identified by leftmost-character-position up to and including the rightmost character of the data item referenced by data-name-1.

Note:
If the result of an arithmetic expression is something other than an integer, truncation occurs, resulting in an integer.


[ Top of Page | Previous Page | Next Page | Table of Contents ]