CA SDM::.SPEL::. set_ilimit()

Document created by TMACUL Champion on Mar 3, 2017Last modified by TMACUL Champion on Mar 6, 2017
Version 2Show Document
  • View in full screen mode

Overview

 

The functionality will setting a maximum instruction limit for interpreter, it has a maximum instruction limit in order to avoid infinite loops. After executing the maximum number of instructions without completing, the interpreter returns a timeout error. The limit default is 100000, which can be reset inside a function to any value up to 2^31 (2147483648)

 

What is standard limit? It was defined on NX.ENV on NX_SURVEY_ILIMIT parameter from 500 to greater than 100000 or the maximum value 2147483648.

Usage

 

Results

 

Examples

 

 

 

set_ilimit(int)

Control Function

 

 

Example code:

 

set_ilimit (10000000);

 

 

Warning! Long loops can cause performance issue!

By Timur on comment

Know more TEC511829

 

 

 

 

Where can I find Spel functions documentation? 

1 person found this helpful

Attachments

    Outcomes