STIMERw. Informat

Reads time values and determines whether the values are hours, minutes, or seconds; reads the output of the STIMER system option.

Category: Date and Time

Syntax

STIMERw.

Syntax Description

w

specifies the width of the input field.

Details

The STIMER informat reads performance statistics that the STIMER system option writes to the SAS log.
The informat reads time values and determines whether the values are hours, minutes, or seconds based on the presence of decimal points and colons:
  • If no colon is present, the value is the number of seconds.
  • If a single colon is present, the value before the colon is the number of minutes. The value after the colon is the number of seconds.
  • If two colons are present, the sequence of time is hours, minutes, and then seconds.
In all cases, the result is a SAS time value.
The input values for STIMER must be in one of the following forms:
  • ss
  • ss.ss
  • mm:ss
  • mm:ss.ss
  • hh:mm:ss
  • hh:mm:ss.ss
ss
is an integer that represents the number of seconds.
mm
is an integer that represents the number of minutes.
hh
is an integer that represents the number of hours.