IBM Support

IBM Rational DOORS DXL script for listing the history session record of the access in shared or edit mode for a specified module

Question & Answer


Question

Is there a way to have a log for each time a user is accessing a module.

Answer

  1. Open that particular module.
  2. Go to Tools/Edit DXL
  3. Enter this script in the DXL Input window:

    HistorySession hs 
    // process module
     
    for hs in current Module do
    {
       // identifier, date and user
       print number(hs) ", " when(hs) ", " who(hs)
     
       string sBaseline = baseline(hs)
     
       // only relevant if baseline info exists
     
       if (sBaseline != null)
       {
           // baseline name
           print " - '" sBaseline "': "
       }
     
       print "\n"
    }
     
  4. The output from the DXL Output will contain the list of every user who accessed that particular module.



Disclaimer:

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

[{"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.2;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","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21458421