Reads numeric data that is stored in real binary (floating-point) notation.
| Category: | Numeric |
| Interaction: | List input is incompatible with binary input when this informat is specified in an INFORMAT= statement or an ATTRIB= statement using the INFORMAT= argument. SAS issues a warning and uses formatted input to read the data. |
| See: | RBw.d Informat: UNIX in SAS Companion for UNIX Environments |
| RBw.d Informat: Windows in SAS Companion for Windows | |
| RBw.d Informat: z/OS in SAS Companion for z/OS |
|
Real Binary Notation
|
||
|---|---|---|
|
Language
|
4 Bytes
|
8 Bytes
|
|
SAS
|
RB4.
|
RB8.
|
|
Fortran
|
REAL*4
|
REAL*8
|
|
C
|
float
|
double
|
|
IBM 370 assembler
|
F
|
D
|
|
PL/I
|
FLOAT BIN(21)
|
FLOAT BIN(53)
|
input @1 x rb8.;
|
Data Line 1
|
Result
|
|---|---|
----+----1 |
|
4280000000000000 |
128 |
| 1The data line is a hexadecimal representation of a real binary (floating-point) number on an IBM mainframe operating environment. Each byte occupies one column of the input field. | |