From Academic Kids

This article is about the railroad stock management system TOPS. For the DEC PDP-10 operating systems, see TOPS-10 and TOPS-20

The Total Operations Processing System, better known by its initials TOPS, is a computer system for managing the locomotives and rolling stock (railroad cars) owned by a rail system. It was originally developed by the Southern Pacific Railroad and was widely sold; it is best known for its use by British Rail.


Early development

In the early 1960s the Southern Pacific Railroad, ahead of the pack in its embrace of technology, developed a computer system they named TOPS, which officially stood for Total Operations Processing System. The intention was to take all the paperwork associated with a locomotive or railroad car - its maintenance history, its allocation to division and depot and duty, its status, its location, and much more - and keep it in computer form, constantly updated by terminals at every maintenance facility. On paper, this information was difficult to keep track of, difficult to keep up to date, and difficult to query - the only way to do that would be a whole lot of phone calls. Computerising this information enabled a railroad to keep better track of its assets, and to utilize them better.

One way to offset the development costs of such a system, of course, was to sell it to other systems, and the Southern Pacific did just that. A fair number of American railroads took to the system, as did many systems around the world.

Adoption by British Railways

In the mid to late 1960s British Railways (soon to become British Rail) was searching around for ways to increase efficiency, and came across the TOPS system being used by the Canadian National Railways. Finding themselves rather taken with it, the system was purchased (along with source code, such as was typical for such a large mainframe-based system in those days) and was slowly implemented on British Railways. At the time, the British Government operated a "Buy British" policy for the nationalised industries, and the purchase of an IBM 360 mainframe to operate TOPS on had to be approved by the Cabinet of Prime Minister Edward Heath.

The adoption of the TOPS system made for some changes in the way the railway system in Britain worked. Hitherto, locomotives were numbered in three different series. Steam locomotives carried unadorned numbers up to five digits long. Diesel locomotives carried four digit numbers prefixed with a letter 'D', and electric locomotives with a letter 'E'. Thus, up to three locomotives could carry the same number! This TOPS could not handle, and it also required similar locomotives to be numbered in a consecutive series in terms of classification, in order that they might be treated together as a group.

TOPS numbering

Sequentiality was all that was required, but with the requirement to renumber, it was decided to adopt a logical system for classification, and the five or six digit TOPS number was divided into two parts. No class of locomotive or multiple unit numbered over a thousand examples, so the last three digits were used for the individual number (between 001 and 999) in that class. The first two or three digits were used to denote the class of locomotive or multiple unit. The numbers were often written in two space separated groups, such as '47 401' to highlight that division, but the TOPS system actually stored and displayed them without the space - '47401'. Sub classifications were indicated in the TOPS system with a slash and a subclass number - e.g. '47/4'. It was convention - though not enforced within the TOPS system - that subclass numbers were boundaries in the locomotive numbering system, such that class '47/4' started with number '47 401'. If there were more than 99 numbers in a subclass, the number series extended to the next value of the third digit; thus, since there were more than 200 locomotives in class '47/4', subclasses '47/5' and '47/6' did not exist, and the next valid subclass by convention was '47/7' starting with '47 701'. However, in some cases, the sequences do not match, e.g. 158/0 numbers start at 158 701.

Locomotives are assigned classes from 01 to 98, with diesel locomotives assigned classes 01 to 69, DC electric locomotives between 70 and 79, AC electric locomotives 80-96, departmental locos (those not in revenue-earning use) 97, and steam locomotives 98. One oddity was the inclusion of British Rail's shipping fleet in the system as Class 99. Diesel multiple units (DMUs) with mechanical or hydraulic transmission are classified between 100 and 199, while those with electric transmission are between 200 and 299. Electric Multiple Units (EMUs) are given the subsequent classes; 300 to 399 are overhead AC units, while Southern Region 600-volt DC third rail EMUs are between 400 and 499, with other DC electric units between 500 and 599. Classes 600-899 have not yet been used, but selected numbers in the 900 series have been used for departmental multiple units, mostly converted from former passenger units. More information can be found on British Locomotive and Multiple Unit Numbering and Classification.

Coaching stock and individual multiple unit cars are allocated five digit numbers; since the early 1980s it has been forbidden for them to have the same numbers as locomotives, but before then duplication was possible because they carried a prefix letter, which was considered part of the number. More information can be found on British Carriage and Wagon Numbering and Classification.

Locomotives began receiving their TOPS numbers in 1972, while EMUs and DMUs didn't receive TOPS unit numbers until later. Some locomotives which were slated for withdrawal never received a TOPS number and operated until the late 1970s with their old D-prefix numbers.

Recent history

TOPS has grown very out of date in recent decades. It is a text-terminal, mainframe-driven system which is very user-unfriendly, cryptic, hard to use and prone to operator error (because of its cryptic displays and command set). In addition, it is written in its own programming language, TOPSTRAN (an enhanced version of IBM Assembler language), and it is increasingly hard to find and train developers to maintain it. The division of British Rail and privatisation has also hurt TOPS, because it was never really designed for that; some Train Operating Companies don't keep information as up to date in it as they should.

Attempts have been made to 'skin' the system with a more user-friendly interface, called TOPS 2000; in addition, there are other parallel systems now, such as TRUST and Genius, but none has yet supplanted the TOPS system. Eventually, no doubt, they will.

Access to TOPS

For anyone obsessive about trains in Britain, of course, access to the TOPS system is the holy grail; knowing what locomotive is where, what trains it's going to work, that kind of thing. The catch is, of course, that the system is considered company confidential and the information within it is not generally considered available for the general public.

Therefore, the best way to get access is to work for a railway company and have access through one's work. The second best is to have a friend in that situation! Care, of course, has always been required; accessing TOPS for personal reasons has, when found out, sometimes resulted in disciplinary action or dismissal, though generally only flagrant violators have been so punished.

TOPS Headcodes

The full train identity code used by the Total Operations Processing System computer consists of seven characters but in everyday use a shortened form is used consisting of just four characters.

The first figure denotes the train type:

  • 0 – Light engine
  • 1 – Mail, express passenger and certain special trains
  • 2 – Stopping passenger
  • 3 – 90mph freight, and (at least in the former southern region, "express" empty coaching stock moves that need to get to another station to start another service rather than returning to the depot.
  • 4 – 75mph freight
  • 5 – Empty mail vans and empty stock
  • 6 – 60mph freight
  • 7 – 45mph freight
  • 8 – 35mph freight
  • 9 – Eurostar passenger

The second figure denotes the destination Network Rail zone (former British Rail region), when the train is travelling between zones

  • E – Eastern
  • I – outbound passenger trains via the Channel Tunnel
  • L – Anglia
  • M – London Midland
  • O – Southern
  • S – Scottish
  • X – "Out-of-gauge" trains, or the Royal Train
  • V – Western
  • Z – Specials, works trains, sandite trains, etc.
  • G – Some specials NE England & S Wales

The third and fourth figures together represent the particular service. e.g. 4E41 The 1905 Avonmouth Tyne Dock Intermodal.

Eurostar passenger services have headcodes in the "9Onn" range for services running to London, and "9Inn" for services from London. Once they reach the Channel Tunnel the trains are numbered "90nn" and "91nn" respectively, in the Continental all-numeric train numbering system.

Services travelling entirely within a Network Rail zone will use other letters denoting the destination area as their destination code. e.g. 6N02 The 0900 Humber Jarrow Loaded Bogie Tanks.

Note that a four-character headcode does not uniquely identify a train - in some areas all trains travelling in one direction on a service with a particular stopping pattern may share the same headcode.


Academic Kids Menu

  • Art and Cultures
    • Art (
    • Architecture (
    • Cultures (
    • Music (
    • Musical Instruments (
  • Biographies (
  • Clipart (
  • Geography (
    • Countries of the World (
    • Maps (
    • Flags (
    • Continents (
  • History (
    • Ancient Civilizations (
    • Industrial Revolution (
    • Middle Ages (
    • Prehistory (
    • Renaissance (
    • Timelines (
    • United States (
    • Wars (
    • World History (
  • Human Body (
  • Mathematics (
  • Reference (
  • Science (
    • Animals (
    • Aviation (
    • Dinosaurs (
    • Earth (
    • Inventions (
    • Physical Science (
    • Plants (
    • Scientists (
  • Social Studies (
    • Anthropology (
    • Economics (
    • Government (
    • Religion (
    • Holidays (
  • Space and Astronomy
    • Solar System (
    • Planets (
  • Sports (
  • Timelines (
  • Weather (
  • US States (


  • Home Page (
  • Contact Us (

  • Clip Art (
Personal tools