Skip to content

WAIT-TIME

FUNCTION

This Script-IV variable specifies the timeout value on busy records. The timeout value is the number of seconds Script-IV will wait before the next attempt to gain access to a record. Valid values are 0 through 255. The default is 5.

SYNTAX

WAIT-TIME numeric value

numeric-value a numeric data name, variable, constant, or expression that results in a positive integer.

This integer specifies the number of seconds to suspend execution.

NOTES

  • The WAIT-TIME variable is used to control BUSY processing in Script-IV commands such as CHANGE or DELETE.

EXAMPLES

LET WAIT-TIME = 10

SEE ALSO

CHANGE, DELETE, KEY-NAME, READ

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF