These scripts are provided free of charge for the benefit of DOORS users. You may copy, modify or distribute any of these scripts as you wish, but please leave. The purpose of this series is to take a relatively simple script and add on to it and make it robust, providing a great DXL tutorial in the process. If someone in your company has already written some scripts in DXL, use them as reference. I had no formal training, the manual and some scripts were the only .

Author: Vik Dahn
Country: Honduras
Language: English (Spanish)
Genre: Relationship
Published (Last): 7 July 2014
Pages: 297
PDF File Size: 8.26 Mb
ePub File Size: 12.70 Mb
ISBN: 458-6-46542-348-5
Downloads: 74237
Price: Free* [*Free Regsitration Required]
Uploader: Goltilrajas

Does that explain it better? You must be logged in to post a comment. But my Doors falls.???

Extending Rational DOORS with DXL

We can look at every single object in the module one-by-one, or we can apply a filter. Does DXL accept recursive functions? Kevin February 16, Salas, You need to give me the error message in order to help you out. This is very useful as it allows you to combine filtering with searching, but it can also lead to sccripting programs if you don’t think out what you want.

We can all try to build this together. This makes it different than many other languages.

Use of DXL Scripts

Are you sure that anItem is a module? I still have tons of opinions on DOORS and Requirements Management, but unfortunately have to focus on some personal items at the present time.

And filters can be recreated. I declared integer variables for the number of objects accepted and rejected by the filter.

Getting Started with DXL

However, I want to discuss what has already been done. I am strugling with a some problem in dxl. Best Log in to Reply.


Finally we may output a report to Microsoft Excel. Look up either of those functions: Regarding your suggestions… 1. Thank you so much for your reply. Twonky 5 I do assume that you have a basic understanding of programming. Can u help me…, how can I to display an URL?

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Many of the features are simple to use and do not demand advanced programming skills. Kevin Log in to Reply. The above code sets the filter f in the current Module. This is necessary because if 0 objects are accepted, then our module has no objects with incoming links, and we need to know that.

An ack scripring is generally better to use than a print statement in DXL. The reference guide assumes that the programmer is only using the guide as a reference, so explanations are generally on the shorter side, and details are generally not always given where they ought to be. I need to know more details. If any objects were accepted, we know we have incoming links. I will start looking in to the dxl link that you provided me.

Salas28 February 15, Kevin, Thank u. Instead, we just want to know if there are any incoming links, regardless of which link module those links may be going through.

Is there any method to avoid this problem such as if read fails continue with next iteration.

Apart from that, most of the syntax of DXL is just like C’s, but with some friendly simplifications. We have the information we need.

It is failing every time it encounters the missing file view.

Use of DXL Scripts

Passing by reference is the only way passed vars can be updated by a function in other languages that I know. So, this article introduces some of the basic capabilities of DOORS’ own programming language, and show that it is easy and scdipting to come to grips with the DXL.


I think they could put every ounce of information about DOORS and DXL in their documentation and they would still sell training, as most projects have managers that understand the importance of getting requirements right the first time. You can create an Object variable in DXL, but you cannot use that Object without a module in which it can reside.

If counting the requirements is something you want to do often, then it might be worth writing a small DXL program to do the job. George June 1, Just joined! Once we set the filter, if any objects are returned, they should all have an incoming link, because that is what the filter is set for.

In other words, it is more like a sketch of the functional requirement than a complete implementation. It is equivalent to the following code. The next line contains just a closing curly bracket, indicating the end of the for loop. DOORS is a database. We have two methods of accomplishing this.

It passes the variables iAcc and iRej by reference, so that both iAcc and iRej are updated with the results. This is still a little unfriendly, but at least you get to choose the message.