IPL gratefully acknowledges the permission of the publishers of the Software HOTEcho to reproduce this article.
![]()
![]()
From defence to finance
by Tony Harrington
![]()
The use of software tools in almost every aspect of software engineering is now almost standard practice. Here we look at some of the latest examples across the range.Military software design projects are perhaps the most demanding and rigorous in the software industry, so this is an area where one would expect to see software tools coming into their own.
Yet there is a kind of persistent tradition among programmers in the industry that 'real' programming is done 'by hand', without the benefit of 'effete' 4GL code generators or 'high level' languages.
Jack Cunningham, assistant chief software engineer at GEC Marconi Avionics' South Gyle plant in Edinburgh, takes the opposite view. 'These days we don't need as many programmers who like to work in Fortran as we used to. I personally much prefer working with ideas and abstractions than writing binary code,' he says. His part of the operation uses Borland's Delphi, a Rapid Application Development Tool, or RAID, amongst other things, and he points out that there is no comparison between the production timescales of RAID generated applications and Fortran style programming.
'When you create a Window in Delphi and tag on certain events, you don't have to bother about the code that generates the Window, for example.
If you want a page to scroll you can accomplish this with a click of a mouse. In the old days just scrolling the page was a fantastically complicated affair taking huge numbers of lines of code. There is no argument about which way of doing things is the more efficient.' Delphi is used for the Application Interface work and the man/machine interface (MMI) is carried out using Microsoft's Visual Basic.
The work done at the plant is, for the most part, not safety critical, but it is safety related and Marconi needed a tool to help it conduct rigorous testing of software before projects were signed off. It selected Ada Test, supplied by the Bath systems house IPL.
'This tool has opened up a whole new avenue of testing for us, including dynamic and static testing,' Jack explained. 'We are able to create a test harness in Ada Test and use it to dynamically test the code in operation. It tells us exactly how the code is performing and provides statistics on every statement and branch in the code. Previously it was almost impossible to get a handle on how well the code had been exercised in test situations. With this tool you can see if there are islands of non-use in the code and you can check to see if this is because there is something wrong with the specification or if you need additional test procedures.'
Ada Test allows users to specify the inputs to the test and the expected outputs and provides a report at the end of the test as to whether these expected outputs have been achieved. As a systems house, IPL produces safety critical applications and Ada Test was originally developed for its own in-house use, though it is now widely used across the defence community, where Ada is the mandated development language.
One area where Jack Cunningham believes that tools have not yet come up to his expectation is CASE technology. 'CASE is well suited to Ada development, but my impression so far is that while the methodology is reasonable, the tools that support that methodology are not particularly good. The aim of a CASE tool is to capture information, but in our experience getting information into a CASE system is a slow and laborious process.'
'Five years ago,' he adds, 'CASE was held up as the panacea for all our design problems, but it hasn't worked out that way. To use CASE effectively, applications engineers have to have a sound understanding of the methodology behind the tool - without that, all that happens is they produce rubbish that much quicker!'
Edinburgh Royal Infirmary looks forward to Sculptor SQL In 1993 the Edinburgh Royal Infirmary decided not to await the outcome of the national procurement process in Scotland for Accident and Emergency (A&E) systems - currently undergoing trials at Glasgow. Instead it opted for a system that had been written by Dr. Peter Hayley, of the Hull Royal Infirmary's A&E department, using a Unix- based 4GL applications generator tool called Sculptor. The system was provided by systems house Radius, based in Hull.
Commenting on why the Edinburgh Royal Infirmary chose not to wait, Harry Smith, who heads the A&E IT department said: 'We have a throughput of around 90,000 patients a year. Getting a full range of management and clinical information on our activities was seen as absolutely critical - and since the Glasgow project has still to be finalised, three years on, our decision looks even better now!'
Before buying the Hull A&E system, the Edinburgh team gave careful consideration to another A&E package - one provided by Footman Walker and used extensively by large A&E departments in the South of England. 'The thing that attracted us to the Hull system in preference to the Footman Walker package was that it was written by a doctor from an A&E department - which shows just what can be achieved with the Sculptor 4GL tool,' Harry Smith commented.
In practice the system has worked extremely well. One of the major benefits, according to Mr. Smith, is that Dr. Hayley's familiarity with A&E procedures means that the system has been designed to facilitate direct entry of clinical information by A&E clinical staff during patient treatment. 'We get 98% nursing input and around 90% of the medical input captured directly, which is great for reporting purposes,' he pointed out.
The 'software tools' story does not stop just with the 4GL, however.Jim Welch, marketing manager of Sculptor Ltd, which provides the Sculptor 4GL takes up the story. 'There are around 250,000 users of Sculptor based applications world- wide. Applications are highly portable and can be moved across platforms without having to be recompiled, which is a huge benefit for systems houses.
However, though Sculptor has its own reporting system it is non- ODBC compliant and we were finding this to be a growing problem. Many user organisations these days want to use ODBC style executive reporting systems as the front end to their applications.
To solve this problem we have taken a software data translation tool provided by Transoft, a UK company based in Slough, and customised it for Sculptor.'
The Transoft tool, called the Universal Data Dictionary, and marketed in its customised version by Sculptor Ltd as Sculptor-SQL, gives SQL reporting capabilities to 'legacy' systems written using non-RDBMS, hierarchical systems. It does this, in essence, by recognizing and calling the procedures required by the legacy systems to implement SQL commands, threading different processes together to generate answers. There are also versions for Acucobol and Cobol. The latter has been sold by Transoft to MicroFocus, the world's largest producer of Cobol and will be shipped by MicroFocus next year. As Howard Greenwell of MicroFocus observes, 'over 70% of the world's data is still held in non-relational applications, so anything that will allow these systems to be interrogated using modern SQL, has got to be good news.' Harry Smith, at the Edinburgh A&E pointed out that at present the main reporting method he uses on the Sculptor based system is to generate reports in Ascii code and pass them through into Microsoft Access for further analysis.
'Interrogating an Ascii dump has its drawbacks. Much of the information we want is time related, and dealing with hours, days and weeks across a non-relational database is very tricky. Any tool that would improve our reporting capabilities would be highly welcome!'
The WM Company - taking the pain out of engineering.
Based in Edinburgh, the WM Company is an autonomous subsidiary of the Bankers Trust Company of New York and reckons to be the world's largest provider of investment decision support services. The company is in the middle of a massive project to re-engineer the systems on which its services are based from mainframe to client server technology.
As WM's systems manager Myles Morrison explains, software tools are playing a large part in the 90-strong development team's effort to complete the task on time and on budget. The new systems will be based on Sequent hardware, running the Microsoft NT operating system and the Sybase RDBMS. One of the major tools in use to achieve this transition is Systems Engineer, a database modelling schema provided by LMBS.
'Software Engineer allows us to input the entities and attributes and to draw diagrams mapping the relationships between entities. There are something like 350 entities in one of our data models and any entity might have a large number of attributes. Without a tool like this these days you'd be lost trying to set up a major RDBMS applications suite,' Myles said.
In addition, the company is looking at several testing tools, including SQA Team-test. 'The interesting part about SQA Team-test is that it allows us to build scripts that are repeatable for Windows-based applications,' Myles explained. 'All the pointing and clicking that a user would do to open a particular Windows application and carry out a task inside that Window is captured by the test package. This means that we only have to go through the procedure once and we can then simulate it as many times as is necessary. If you want to simulate 20 users looking up account histories, for example, you don't want to have 20 members of staff tied up for half a day. With this automated tool we can run the tests at our leisure.'
It also has benefits in what is called regression testing, where the systems designers make a minor change in the software and then need to run, say, ten hours of tests to check that everything still works as it should.
Performance tools which will examine and report on cpu usage are also going to play a critical part as the re- engineering work progresses. 'We are looking at a tool called Cyrano at the moment. This allows us to look into what is happening when we get response times that are much larger than expected. You can check up and see if your query optimiser is doing something odd, or if you are missing an index that should be there in order to speed up retrieval. These tools also have a role when things are going along normally. You can run them in the background and they'll provide an early warning of problem areas before users start phoning in to complain about bad response times.'
CONTACTS
The WM Company:
Tel: 0131 315 2000
Borland International:
Tel: 01734 320022
GEC Marconi Avionics:
Tel: 0131 3164545
Radius Systems:
Tel: 01482 227181
Sculptor Ltd:
Tel: 0181 4204343
Transoft UK Ltd:
Tel: 01753 692 332
Edinburgh Royal Infirmary:
Tel: 0131 536 1000
IPL, Eveleigh House, Grove Street, Bath, BA1 5LR, UK
Phone: +44-(0)1225-475000
Fax: +44-(0)1225-444400
email: [email protected]