Previous Page | Next Page

Formats

$EBCDICw. Format



Converts native format character data to EBCDIC representation.
Category: Character
Alignment: left

Syntax
Syntax Description
Details
Comparisons
Examples

Syntax

$EBCDICw.


Syntax Description

w

specifies the width of the output field.

Default: 1
Range: 1-32767

Details

If EBCDIC is the native format, no conversion occurs.


Comparisons


Examples

put name $ebcdic3.;

Value of name Results*
qrs
9899A2
QRS
D8D9E2
+;>
4E5E6E
* The results are shown as hexadecimal representations of EBCDIC codes for characters. Each two hexadecimal characters correspond to one byte of binary data, and each byte corresponds to one character.

Previous Page | Next Page | Top of Page