IBM Support

How to run a DXL script automatically in Rational DOORS

Question & Answer


Question

How do you run a DXL script automatically when you login to IBM Rational DOORS?

Cause

Need to automatically load custom batch script when staring DOORS.

Answer

The DOORS Extension Language (DXL) scripts can be pre-loaded to execute immediately after DOORS starts up.

To do this use the -dxl command line switch.

The argument value passed can be either a DXL code fragment or a hash include statement that specifies the path to a DXL program.

This can be added to the Windows shortcut target line of doors.exe.

For example:
To automatically load a dxl script named hello.dxl that is stored on a local drive, add the switch as follows: "C:\DOORSHome\bin\doors.exe -dxl #include C:\hello.dxl"

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.3;9.0;9.1;9.1.0.2;9.2;9.2.0.1;9.2.0.2;9.2.0.3;9.2.0.4;9.2.0.5;9.3;9.3.0.1;9.3.0.2;9.3.0.3;9.3.0.4;9.3.0.5;9.3.0.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21324621