Error: Maximum number of stacked commands reached

Error Message

During an SML process, the message "Maximum number of stacked commands reached" appears.


PC ARC/INFO supports up to nine levels of SML nesting. If this limit is exceeded, this message will appear.

The message also will occur if a POPUP SML calls itself. If a loop is used, once the POPUP calls itself after the ninth time, the program will halt with the message.

Solution or Workaround

The SML program flow must be modified to avoid exceeding nine levels of nesting.