Compatible Unicode Intrinsic Functions - CurEbcdicSize Method

Length of the string in EBCDIC

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerReturned size

Details

CurEbcdicSize returns the number of bytes a string would require if it was running in an EBCDIC environment.
 
In a DBCS environment shift in and shift out bytes are used for DBCS values. These bytes are not used in ASCII. A string that may be short enough to fit in a variable in Windows may not fit when running on the IBM i.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2