Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to edit system attributes with DXL?

Hello,

I have imported a document that follows an unconventional numbering system that has skipped some numbers, i.e. 1,2,4,5,7.  DOORs gives them the incorrect 'Object Level' and 'Object Number', which I would like to correct to be consistent with my document.

My script allows the above attributes to be found and printed out; however, I do not know how to edit them.

While looking in DOORS/9.7/lib/dxl/utils/attrutil.inc (and looking at Casting String to Char and What is NLS_ mean and what it does?) I did not find how to set a system attribute, and it also made me ask, what does NLS_ do?

Below is a snippet of my DXL script:
for o_vts in m_VTS do
{
    int i_num = o_vts."Absolute Number"
if(i_num == 666 )
{         
        string NameAttr = "Object Level"    // Change to your Attribute Name
        string Value = probeAttr_(o_vts, NameAttr)
    // string v_out = ""   o_vts->"Object Level"
        print Value "\n"
  // level o_vts(NLS_("") = 9
  print level o_vts(NLS_(""))
//o_vts."Object Level" = 9
        break
}
}

Thank You

0 votes



One answer

Permanent link
Object Number and Object Level are not actually attributes, despite what parts of the client GUI may suggest. So they cannot be set. 
They are not stored, instead they are calculated when required.

NLS_() is used for translation. It is not intended for general use.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,125
× 35

Question asked: Dec 16 '25, 3:01 p.m.

Question was seen: 327 times

Last updated: Dec 24 '25, 11:44 a.m.

Confirmation Cancel Confirm