Writes native standard numeric data in IBM mainframe format
- w
- specifies the width of the output field.
- d
- optionally specifies the power of 10 by
which to divide the value.
The S370FFw.d format writes numeric data
in IBM mainframe format (EBCDIC). The EBCDIC numeric values are represented
with one byte per digit. If EBCDIC is the native format, S370FFw.d performs no conversion.
If a value is negative,
an EBCDIC minus sign precedes
the value. A missing value is represented as a single EBCDIC period.
x=put(x,s370ff3.)
put y $hex10.;
Values |
Results* |
----+----1
|
|
12345
|
F1F2F3F4F5
|
*The result is the hexadecimal representation for the
integer. |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.