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

MEMCONVERT

MEMCONVERT converts the data in a source buffer from the specified source codepage to a a specified target codepage, 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>>-MEMCONVERT--(--p--,--n--,--c--,--q--,--m--,--d--)-----------><
 
p
Address of the target buffer.
n
Length of the target buffer.
c
Target code page.
q
Address of the source buffer.
m
Length of the source buffer.
d
Source code page.

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

The buffer lengths must be nonnegative.

If either buffer length is zero, the result is zero.

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

The code pages must specify valid, supported code pages.


Terms of use | Feedback

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