Chapter Contents

Previous

Next
RBw.d

RBw.d



Reads numeric data that are stored in real binary (floating-point) notation

Numeric
Width range: 2- 8 bytes
Default width: 4
Decimal range: 0-10
OS/390 specifics: IBM floating-point format


Details
See Also


Details

The w value specifies the number of bytes, not the number of digits. If the informat specification includes a d value, the number is divided by 10d.

The format of floating-point numbers is host-specific. See Representation of Floating-Point Numbers for a description of the IBM floating-point format that is used under OS/390.

The following examples show how data that represent decimal numbers are read as floating-point numbers using the RBw.d informat:

Data Line (Hex) Informat Value
434CE00000000000 rb8.1 123
44300C0000000000 rb8.2 123
C27B000000000000 rb8. -123
434D200000000000 rb8. 1234
41C4000000000000 rb8. 12.25

Note:   In these examples, Data Line (Hex) represents the bit pattern stored, which is the value you see if you view it in a text editor that displays values in hexadecimal representation. Value is the number that is used by SAS after the data pattern has been read using the corresponding informat.  [cautionend]

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.