| DTX | Index Level | ECHO |
| Syntax | EBCDIC( string.expression ) |
| Category | BASIC |
| Type | Function |
| Description | converts a string of ASCII-encoded characters into their equivalent EBCDIC values. |
| Options | |
| See Also | statements & functions functions ASCII, definition ASCII EBCDIC, definition |
| Example |
writet ebcdic(rec) else ...
The ASCII string "rec" is written to tape in EBCDIC. |
| Warnings | EBCDIC character strings can not be displayed on ASCII terminals. |
| Compatibility | D3 7.0 AP R83 |
| DTX | Index Level | ECHO |