

OPS/REXX Built-in Functions › TIME Function—Returns Current or Elapsed Time
TIME Function—Returns Current or Elapsed Time
When executed in a standalone OPS/REXX program, the TIME function operates identically to standard REXX and returns the current or elapsed time in the format that option specifies.
The following list describes various AOF rule types, plus descriptions of how the TIME function operates when it is executed in them:
- In a REQ rule, this function operates identically to standard REXX and returns the current or elapsed time in the format that option specifies.
- In a TOD rule, the current time that is returned is always the time when the rule was scheduled to execute.
- In any other type of rule, the current time that is returned is always the time when the rule actually executes.
- In any rule other than a REQ rule, the elapsed time that is returned is always zero.
The TIME function has the following format:
var = TIME(option)
- option
-
Supports all values for option that standard REXX supports.
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|