Informats |
Category: | Numeric |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples |
Syntax |
S370FFw.d |
specifies the width of the input field.
Default: | 12 |
Range: | 1-32 |
specifies the power of 10 by which to divide the value. This argument is optional.
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 |
The S370FFw.d informat performs the same role for numeric data that the $EBCDICw.d informat does for character data. That is, on an IBM mainframe system, S370FFw.d has the same effect as the standard w.d informat. On all other systems, using S370FFw.d is equivalent to using $EBCDICw.d as well as using the standard w.d informat.
Examples |
input @1 x s370ff3.;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.