Compatible Unicode Intrinsic Functions - CurEbcdicSize Method
Length of the string in EBCDIC
Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Integer |
Returned size |
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.
All Component Classes
Technical Reference