Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

LENGTH

LENGTH returns an unscaled REAL FIXED BINARY value specifying the current length of x.

Read syntax diagramSkip visual syntax diagram>>-LENGTH(x)---------------------------------------------------><
 
x
String-expression. If x is binary, it is converted to bit string; otherwise, any other conversion required is to character string.

For an example of the LENGTH built-in function, refer to MAXLENGTH.

The BIFPREC compiler option determines the precision of the result returned.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)