Allows you to call the CharTranslate built-in function within a message AIM, rather than including it in a production object. If source and targets are not properly defined, a error message states that it could not find the target.
charTrans (&data,'\000', “ASCII”, “T-11 EBCDIC”);
Parameter |
Description |
---|---|
&data |
Defines the incoming data to be translated. Can be string or blob datatype. |
‘\000’ |
Sets the mode variable. Set to |
ASCII |
String that defines the source from which any character set is translated; for example, the ASCII character set. |
T-11 EBCDIC |
String that defines the target to which any character set is translated; for example, the T-11 EBCDIC character set. |
Integer.
Returns 1 for success, and 0 for failure.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |