Chapter Contents

Previous

Next
$EBCDICw.

$EBCDICw.



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.;

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.