Reads TIME MIC values
-
w
-
specifies the width of the input field.
The MSECw. informat reads
time values that are produced by IBM mainframe operating environments and
converts the time values to SAS time values.
Use the MSECw. informat
to find the difference between two IBM mainframe TIME values, with precision
to the nearest microsecond.
The
MSECw. and TODSTAMPw. informats both read IBM time-of-day clock values, but the
MSECw. informat assigns a time value to a variable,
and the TODSTAMPw. informat assigns a datetime
value.
input btime msec8.;
|
Data Lines* |
Results |
0000EA044E65A000
|
62818.412122
|
| *The data line is a hexadecimal representation of a binary
8-byte time-of-day clock value. Each byte occupies one column of the input
field. The result is a SAS time value corresponding to 5:26:58.41 PM. |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.