

OPS/REXX Built-in Functions › TIME Function—Returns Current or Elapsed Time
TIME Function—Returns Current or Elapsed Time
When executed in a stand-alone OPS/REXX program, the TIME function operates identically to standard REXX and returns the current or elapsed time in the format specified by option.
Following is a list of various AOF rule types and a description of how the TIME function operates when executed in them:
- In a REQ rule, this function operates identically to standard REXX and returns the current or elapsed time in the format specified by option.
- In a TOD rule, the current time returned is always the time when the rule was scheduled to execute.
- In any other type of rule, the current time returned is always the time when the rule actually executed.
- In any rule other than a REQ rule, the elapsed time returned is always zero.
The TIME function has this format:
var = TIME(option)
- option
-
Supports all values for option that are supported by standard REXX.
Copyright © 2013 CA.
All rights reserved.
 
|
|