Converts native format character data to EBCDIC representation.
| Category: |
Character
|
| Alignment: |
left
|
-
w
-
specifies the width of the output field.
| Default: |
1 |
| Range: |
1-32767 |
If EBCDIC is the native format, no conversion
occurs.
-
On ASCII systems, $EBCDICw.
converts ASCII character data to EBCDIC.
-
On all other systems, $EBCDICw.
behaves like the $CHARw. format.
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. |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.