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

MEMCU14

MEMCU14 converts the data in a source buffer from UTF-8 to UTF-32, stores the result in a target buffer, and returns an unscaled REAL FIXED BINARY value specifying the number of bytes written to the target buffer.

Read syntax diagramSkip visual syntax diagram>>-MEMCU14--(--p--,--n--,--q--,--m--)--------------------------><
 
p
Address of the target buffer.
n
Length of the target buffer.
q
Address of the source buffer.
m
Length of the source buffer.

The buffer lengths must have computational type and will be converted to FIXED BINARY(31,0).

The buffer lengths must be nonnegative.

If the target buffer is too small or if the source UTF-8 is invalid, a value of -1 is returned.

On z/OS, this built-in function requires an ARCH level of 7 or higher.


Terms of use | Feedback

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