401 users using DBSP now!
home -> documentation -> language reference -> Maxiterations property


Description

The MAXITERATIONS property aids to the DBSP engine to avoid infinite loops while interpreting the language. This is a very important feature considering that an infinite loop will consume all the processor resources a server.



Applications

When a cycle on the language reaches the maximum cycles allowed (MAXITERATIONS) the loop is broken immediately.



References

The MAXITERATIONS property is used in these elements:

FOR
WHILE
QRYEXEC



Note: When MAXITERATIONS is not explicitly defined, it takes the default value of 6,500.