Previous Page
|
Next Page
VAXRB
w
.
d
Format
Writes real binary (floating-point) data in VMS format.
Category:
Numeric
Alignment:
right
Syntax
Details
Comparisons
Example
Syntax
VAXRB
w
.
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 VAXRB
w
.
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 VAXRB
w
.
d
and the RB
w
.
d
formats are identical.
Example
x=1; y=put(x,vaxrb8.); put y=$hex16.;
Value of
x
Result
1
----+----1
1
8040000000000000
1
The result is the hexadecimal representation for the integer.
Copyright © SAS Institute Inc. All rights reserved.
Previous Page
|
Next Page
|
Top of Page