VAXRBw.d Format

Writes real binary (floating-point) data in VMS format.
Category: Numeric
Alignment: right

Syntax

VAXRBw.d

Syntax Description

w
specifies the width of the output field.
Default:8
Range:2-8
d
specifies the power of 10 by which to divide the value. This argument is optional.
Default:0
Range:0–31

Details

Use the VAXRBw.d format to write data in native VAX or VMS floating-point notation.

Comparisons

If you use SAS that is running under VAX or VMS, then the VAXRBw.d and the RBw.d formats are identical.

Example

x=1;
y=put(x,vaxrb8.);
put y=$hex16.;
Value of x
Result 1
----+----1
1
8040000000000000
1The result is the hexadecimal representation for the integer.