VAXRBw.d Format

Writes real binary (floating-point) data in VMS format.

Category: Numeric
Alignment: Right

Syntax

VAXRBw.[d]

Arguments

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.

Default 0
Range 0–31

Details

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

Example

Statements
Results1
----+----1
select put(1,vaxrb8.);
8040000000000000
1The result is the hexadecimal representation for the integer.
Last updated: February 23, 2017