Chapter Contents |
Previous |
Next |
MSECw. |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
MSECw. |
Requirement: | w must be 8 because the OS TIME macro or the STCK System/370 instruction on IBM mainframes each return an eight-byte value. |
Details |
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.
Comparisons |
Examples |
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. |
See Also |
Informat:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.