Troubleshooting
Problem
How can you eliminate 'DXL Execution timeout' warning message from appearing while working with IBM Rational DOORS?
Symptom
IBM Rational DOORS displays an error 'DXL Execution timeout'
Resolving The Problem
The perm 'pragma' can be used in order to extend the DXL timeout. This perm is used to modify the background behavior of DXL interpreter.
For example:
pragma runLim,0
The above script can be used to eliminate the 'DXL Execution timeout' warning message from appearing. This will suppress the DXL Timeout feature (in other words, no limit is set for DXL timeout).
DXL interpreter has a background execution timeout limit set by default which can be changed accordingly in the DXL. After the default time-out period, the execution of DXL is halted and you get the message ‘DXL Execution timeout’. You can choose to terminate your DXL from running, or continue which will run for another runtime limit or Continue, double existing timeout which will double the runtime limit and execute the dxl. Terminating is not recommended as this can result in data integrity issues, depending on what operations your DXL were processing.
This perm can be used as a safety measure for scripts that might get stuck in a loop.
Following is an example of the function that puts DXL into a loop to delay execution of another function.
////////////////START//////////////
int i = 1000
for (i = 100000; i>0; i--) {
int x = i
}
print "done\n"
/////////END////////////
This throws out a DXL time out error. In order to suppress this you could add the following line in the beginning of the code:
pragma runLim,0
Was this topic helpful?
Document Information
Modified date:
01 May 2020
UID
swg21407421