


To determine runtimes (e.g. of SQL statements), the $ variables $SEC and $MICRO can be used. For this purpose, the stop watch is started with the statement INITTIME and the two variables are initialized. GETTIME assigns the time passed since INITTIME to $SEC and $MICRO in seconds and microseconds resp.
The stop watch runs until the next INITTIME or until the termination of the program. With each GETTIME, $SEC and $MICRO are assigned the current values.
Example:

Syntax:



