Chapter Contents |
Previous |
Next |
S370FFw.d |
Category: | Numeric |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples |
Syntax |
S370FFw.d |
Default: | 12 |
Range: | 1-32 |
Range: | 0-31 |
Details |
The S370FFw.d informat reads numeric data that are represented in EBCDIC and converts the data to native format. If EBCDIC is the native format, S370FFw.d performs no conversion.
S370FFw.d reads EBCDIC numeric values that are represented with one byte per digit. Use S370FFw.d on other operating environments to read numeric data from IBM mainframe files.
S370FFw.d reads numeric values located anywhere in the input field. EBCDIC blanks can precede or follow a numeric value with no effect. If a value is negative, an EBCDIC minus sign should immediately precede the value. S370FFw.d reads values with EBCDIC decimal points and values in scientific notation, and it interprets a single EBCDIC period as a missing value.
Comparisons |
Examples |
input @1 x s370ff3.;
Data Lines* | Results |
---|---|
----+----1 |
|
F1F2F3 |
123 |
F2F4F0 |
240 |
*The data lines are hexadecimal representations of codes for characters. Each two hexadecimal digits correspond to one byte of binary data, and each byte corresponds to one character value. |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.