IBM Support

'DXL Execution timeout' message while working with IBM Rational DOORS

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

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.2;9.3;9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21407421