IBM Support

Setting up an IBM Rational DOORS module for sharing at levels greater than 4

Question & Answer


Question

How to setup an IBM Rational DOORS module for sharing at levels greater than 4

Answer

When a module is setup for sharing at a particular level, the only change that occurs in the module is, the objects in that level would have "Inherit from parent" option under the Access tab in Object Properties unchecked.

When you choose to Setup a module for sharing using GUI (Tools -> Setup for Sharing), users can setup the module for sharing up to level 4. When there is a need to setup a module for sharing at level greater than 4, all objects at that level will require "Inherit from Parent" option unchecked (Right click on Object -> Properties -> Access). Alternatively, the following script also can be used:


    int LEV = 6

    Object o

    string errMsg = null

    int count = 0

    if(null current Module)

    {

      ack "This script should be run from a module"

      halt

    }

    if(!canControl current Module)

    {

      ack "To create sections, you require admin access to the module (RMCDA)"

      halt

    }

    for o in current Module do

    {

      if(level o == LEV)

      {

        errMsg = specific o

        if(!null errMsg)

          print "Could not share object " o."Absolute Number" ". Error:\n" errMsg

        else

          count++

      }

    }

    infoBox "Created " count " sections in this module"


In the above script, please specify the level in the first line of the script (int LEV = ). The user that runs this script should have RMCDA access to the module.

Note: Care should be taken when sections are created in module. Larger number of sections can impact performance.


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

Document Information

Modified date:
01 May 2020

UID

swg21411650