TUw. Informat

Reads timer units.
Category: Date and Time

Syntax

TUw.

Syntax Description

w
specifies the width of the input field.
Requirement:w must be 4 because the OS TIME macro returns a four-byte value.

Details

The TUw. informat reads timer unit values that are produced by IBM mainframe operating environments and converts the timer unit values to SAS time values.
There are exactly 38,400 software timer units per second. The low-order bit in a timer unit value represents approximately 26.041667 microseconds.
Use the TUw. informat to read timer unit values that are produced by an IBM mainframe on other operating environments.

Example

input btime tu4.;
Data Line 1
Result
----+----1
8FC7A9BC
62818.411563
1The data line is a hexadecimal representation of a binary, four-byte timer unit value. Each byte occupies one column of the input field. The result is a SAS time value that corresponds to 5:26:58.41 p.m.