Writes real binary (floating-point) data in VMS format.
Category: |
Numeric
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
-
d
-
specifies the power of 10 by which to divide
the value. This argument is optional.
Use the VAXRBw.d
format to write data in native VAX/VMS floating-point notation.
If you use SAS that is running under VAX/VMS,
then the VAXRBw.d and the RBw.d formats are identical.
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. |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.