Converts character data to binary representation.
Category: | Character |
Alignment: | Left |
specifies the width of the output field.
Default | The default width is calculated based on the length of the variable to be printed. |
Range | 1–32767 |
Statements
|
Results
|
|
---|---|---|
|
ASCII
|
EBCDIC
|
----+----1----+----2 |
----+----1----+----2 |
|
select put('AB', $binary16.); |
0100000101000010 |
1100000111000010 |