S370FRBw.d Informat

Reads real binary (floating-point) data in IBM mainframe format.

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.

Syntax

S370FRBw.d

Syntax Description

w

specifies the width of the input field.

Default 6
Range 2–8

d

specifies the power of 10 by which to divide the value. This argument is optional.

Range 0–10

Details

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.

Comparisons

  • 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

See Also

Informats: