Previous Page | Next Page

Formats

VAXRBw.d Format



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

Syntax
Syntax Description
Details
Comparisons
Example

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/VMS floating-point notation.


Comparisons

If you use SAS that is running under VAX/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 Results*
----+----1

1
8040000000000000
* The result is the hexadecimal representation for the integer.

Previous Page | Next Page | Top of Page