EBCDIC( ) function

Returns a string that has been converted to EBCDIC character encoding.

Syntax

EBCDIC(string)

Parameters

string

Character. The value to convert to EBCDIC.

Output

Character.

Remarks

You can use this function to convert data to the Extended Binary Coded Decimal Interchange Code (EBCDIC) character encoding. EBCDIC character encoding is used primarily on IBM mainframe operating systems, such as z/OS.

Example

To create a field containing the EBCDIC encoded value of a Name field for export to an application that requires EBCDIC encoding, specify the following:

DEFINE FIELD Address_Exp COMPUTED EBCDIC(ADDRESS)



(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback