Reads real binary (floating-point) data in IBM mainframe
format.
-
w
-
specifies the width of the input field.
-
d
-
specifies the power of 10 by which to divide
the value. This argument is optional.
Real binary values are represented in
two parts: a mantissa that gives the value, and an exponent that gives the
value's magnitude.
Use S370FRBw.d to read real binary data from IBM mainframe files on other
operating environments.
-
If you use SAS on an IBM mainframe, S370FRBw.d and
RBw.d are identical.
-
The following table shows the equivalent real
binary notation for several programming languages:
|
Real Binary Notation |
Language |
4 Bytes |
8 Bytes |
SAS |
S370FRB4. |
S370FRB8. |
PL/I |
FLOAT BIN(21) |
FLOAT BIN(53) |
Fortran |
REAL*4 |
REAL*8 |
COBOL |
COMP-1 |
COMP-2 |
assembler |
E |
D |
C |
float |
double |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.