Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

EBCDIC

Description

This function converts all the characters in an expression from the ASCII character set to the EBCDIC character set. It takes the general form:

 EBCDIC(expression)

Where expression may contain a data string of any form. The function will convert it to a character string, assume that the characters are all members of the ASCII set and translate them using a character map.

The original expression is unchanged while the returned result of the function is now the EBCDIC equivalent. 

An example of use may be as:

0001     ascii_expression = "?m@?&???"
0002     CRT EBCDIC(ascii_expression)


Go back to jBASE BASIC.

Was this article helpful?