MARS-1 and the JNR Seat Reservation System
Abstract
MARS-1 (Magnetic-electronic Automatic Reservation System) began taking seat reservations for Japanese National Railways in January 1960, on express trains between Tokyo and Osaka. It was designed at JNR’s Railway Technical Research Institute by Mamoru Hosaka and Yutaka Ohno and built by Hitachi: a special-purpose machine with about 1,000 transistors, a magnetic drum holding 3,600 seats for fifteen days ahead, and terminals at ten ticket windows in the Tokyo area. Hosaka then argued JNR out of simply enlarging it and into a multi-computer system with control software, MARS-101, which went live in February 1964. After the new Shinkansen’s manual booking broke down, MARS-102 opened the “Green Window” ticket counters at 152 stations in October 1965. The system’s descendants still manage and issue the JR group’s tickets, and in 2025 the IEEE made MARS-1 a Milestone as the first automated railway booking system.
An Aircraft Engineer at the Railway
Mamoru Hosaka (穂坂衛, 1920–2016) graduated in aeronautics from the University of Tokyo in September 1942, a semester early because of the war. As a naval technical officer at the Yokosuka air arsenal he calculated the structural strength of the Ohka rocket-powered suicide plane. After 1945 aircraft work was forbidden in occupied Japan. Hosaka stayed on at the Central Aeronautical Research Institute, which had come under the railway ministry, and took up railway problems on his own initiative. In 1949 Hosaka joined the laboratory of Tadashi Matsudaira (松平精) at the Railway Technical Research Institute, a former navy engineer who studied why freight wagons derailed, and invented a ride-comfort meter that JNR and Japanese car makers used.
In 1952 he went to MIT as one of the first Fulbright scholars, wanting to study computers. He was placed in mechanical engineering instead, but the vibration specialist J. P. Den Hartog told him to pursue what he wanted and took him to meet Norbert Wiener (see Norbert Wiener and Cybernetics). Hosaka came home in July 1953 with the computer literature he had collected, including Harvard’s Computation Laboratory reports and High-Speed Computing Devices, and with Wiener’s idea that information is control. Japan had no working computer yet. In 1954 he gathered a voluntary study group of young researchers at the institute; among them was Yutaka Ohno (大野豊), later a professor at Kyoto University.
People as Bits
In late July 1955 Hosaka went to Ueno station early in the morning to catch a train to Kutsukake (today Naka-Karuizawa) for his laboratory’s annual outing, queued, and still got no seat. Standing in the crowded carriage, he began to think about seat assignment. “The people sitting there started to look like bits to me,” he said in an oral-history interview fifty years later. He spent the rest of the trip working out how a computer could find and assign free seats fast enough to answer a ticket clerk.
The problem was harder than an airline’s. JNR assigned each passenger a particular seat, and a seat could be sold to one passenger from Tokyo to Nagoya and to another from Nagoya to Osaka. The clerks kept the seat records in paper ledgers and checked availability by telephone, and the same seat was regularly sold twice. The JNR engineers knew the Magnetronic Reservisor that Teleregister had built for American Airlines (see SABRE and Airline Reservation Systems), but it only counted seats on a flight, was a special-purpose machine, and handled a single segment, so JNR decided it had to develop its own.
In 1956 the institute set up an automatic control laboratory with Hosaka in it, and the study of seat reservation became an official research topic. To learn real-time techniques, the institute imported a Bendix G-15, Harry Huskey’s small drum computer descended from the Pilot ACE (see Alan Turing and the ACE), which arrived in April 1957. Hosaka was responsible for running and maintaining it, documented it down to the details, and found that its programming tricks fitted the reservation scheme he had in mind. He passed the idea to Ohno, who was one of the few people who had followed his notes.
The Machine
In 1957 JNR’s communications section, its passenger department, and Hosaka agreed on a specification for a prototype, and Ohno did the detailed logical design. In 1958 the communications section found the money and placed the order with Hitachi. Hitachi’s computer engineers were busy on government work, so the job went to Yasuhiko Tani (谷恭彦) of its radio division and a team at the Totsuka plant. MARS-1 was installed in a computer room at Tokyo station in March 1959, tested from August, and Hitachi completed the circuit design and manufacture in July 1959. Hosaka later said its operation was certain by about the summer of 1959. The name, its builders noted, also stood for Mars, the god of war, leading JNR’s modernisation.
The seat file lived on a magnetic drum 300 mm in diameter and 300 mm long, turning at 3,000 rpm, with 200 tracks and about 400,000 bits. Ten of the tracks served as circulating registers: data written to the drum surface and read back a moment later acted as a delay line, which saved flip-flops. Two 900-bit registers held the free-or-taken state of a train’s seats so that a search did not have to go back to the drum. The central unit used about 1,000 transistors, 4,500 diodes, and 70 vacuum tubes, the tubes because there were no power transistors yet. Its logic ran twice in parallel and the two results were compared; the telegraph lines to the terminals had parity checks and the drum records sum checks.
The design specification, published by Hosaka and Ohno in their 1959 book Yoyaku kikai (予約機械, “Reservation Machine”), set the limits. MARS-1 handled four trains in the Tokyo-to-Osaka direction, the Tsubame, the Hato, and the first and second Kodama, each divided into three sections, for fifteen days ahead: 3,600 seats in all, at most 900 per train. A clerk could inquire, book, cancel, display a seat chart, or print the booking status. The central unit took about 0.15 seconds per request, the terminal lines ran at about 50 baud, and the whole transaction took under three seconds. Ten sets of terminals were installed at nine stations, including Tokyo, Ueno, Yurakucho, Shimbashi, Shibuya, Shinjuku, and Yokohama.
Service
MARS-1 started work on 18 January 1960, taking bookings for limited expresses on the Tokaido line departing from 1 February. According to the railway electrical engineers’ history, it began with two trains and added two more in June 1960; the IEEJ’s account has the electric Kodama expresses first and the Tsubame joining in June. Hosaka, in his interview, recalled fourteen days of advance booking rather than fifteen. In February 1961 terminals opened at Osaka and Nagoya.
The prototype was more reliable than anyone expected: 99.86 percent availability in its first ten months and over 99.95 percent after that. It ran until October 1963. Three months after MARS-1 started, in April 1960, the private Kinki Nippon Railway opened its own NEC-built reservation system for 20 stations (see Japan’s Computing Industry).
MARS-101
In October 1959, with MARS-1’s success in sight, Hosaka was allowed to move to the University of Tokyo, on condition that he keep working for JNR. In 1961 JNR set up a committee for a full-scale system, with Hosaka as an outside member. JNR’s staff planned a MARS-2, an enlarged MARS-1. Hosaka argued that MARS-1 had only worked because its requirements had been cut to the bone, and that a national system could not be built by multiplying it. It needed several computers sharing the work and a computer with software to control the whole: “The word OS did not exist yet,” he said later. His plan was adopted. When he presented the idea of a real-time system with lines to many ticket windows at the Information Processing Society of Japan’s monthly meeting in May 1961, the general reaction was that such a thing could not be built.
Hitachi built the hardware, and the control software was written by Hosaka’s assistant Setsuo Ohsuga (大須賀節雄) and others. Printing the kanji on the tickets was solved by watching the clerks. Hosaka bought tickets at Shimbashi station with his own money to see what the clerk did, and noticed that each destination came from a pre-printed card; in the new design the clerk picked a wooden block carrying printing type for the destination and set it in the ticket printer, and the block’s code went to the computer at the same time. Tani, usually a hard man to convince, agreed at once. MARS-101, named so because it was not an extension of MARS-1, went into service in February 1964. Two months later IBM announced the System/360 (see Gene Amdahl and the System/360), and Hosaka was startled, reading its design papers, to find ideas he had written down himself, among them the multiplexer channel, which MARS-101 already had under another name.
The Shinkansen and the Green Window
The Tokaido Shinkansen, opened in October 1964, was at first left out of MARS: its reservations looked simple, and JNR decided to handle them with an improved version of the manual method. The manual method broke down almost immediately, and JNR began work on a second machine of the same type. In October 1965 MARS-101 and the new MARS-102 together opened the Midori no madoguchi (みどりの窓口, “Green Window”) reservation counters at 152 stations, covering 239 trains. MARS-102 used three computers and could hold up to 150,000 seats.
Later Generations
The general passenger system went through MARS-103, 104, and 105 (from 1972), then MARS-301 (from 1985), which combined the passenger, group-booking, and telephone-booking systems on five large general-purpose computers, MARS-305 (from 1996), which cut them to two, and MARS-501 (from 2004), which brought servers in alongside the mainframes. Push-button telephone booking had started in March 1975. Between 1960 and the 2010s the system grew from 3,600 seats a day to a million, and from 10 terminals to 9,500; by 1991 it was selling more than a million tickets a day. When JNR was broken up and privatised in 1987, MARS passed to Railway Information Systems (JR Systems), founded in December 1986, which runs it for all the JR companies. The current generation, MARS-505, has been introduced since 2020 to handle internet sales, foreign visitors, and payment management, and JR Systems claims 99.999 percent availability.
MARS and SABRE
MARS-1 went into service four years before SABRE was complete and was a much smaller machine: 3,600 seats and ten terminals against SABRE’s pair of IBM 7090s and well over a thousand terminals. It was also built differently. MARS-1 was a special-purpose machine whose logic implemented the reservation rules directly, closer in kind to the Magnetronic Reservisor than to SABRE, while SABRE was custom programming on general-purpose scientific computers. MARS-101 crossed the same line in 1964, the year SABRE was completed: from then on both were systems of general-purpose computers under control software, handling short transactions from many terminals against shared records, the pattern later called online transaction processing (see Jim Gray and the Transaction). SABRE’s software went on to other airlines as IBM’s PARS package.
Recognition
The Information Processing Society of Japan put MARS-1 on its list of technology heritage in its first round, for 2008, and the Institute of Electrical Engineers of Japan included it in its first “One Step on Electro-Technology” awards the same year. The processing unit, control panel, and input/output equipment are preserved at the Railway Museum in Saitama. Hosaka went on to computer graphics and CAD at the University of Tokyo, where his curve and surface methods were taken up by Toyota for its die and styling systems (see The History of CAD), served as president of the IPSJ in 1977–78, and received the IEEE Computer Society’s Computer Pioneer Award in 2006. He died on 26 October 2016. The IEEE approved MARS-1 as a Milestone, “MARS-1 First Automated Railway Booking System, 1960,” on 20 May 2025; the plaques were presented in Tokyo in May 2026 to the Railway Technical Research Institute, JR Systems, and Hitachi.
📚 Sources
- 鵜飼直哉, 宇田理, 喜多千草, 山田昭彦: 「オーラルヒストリー 穂坂衛氏インタビュー」 (“Oral history: interview with Mamoru Hosaka”, recorded 22 August 2005), 情報処理 (IPSJ Magazine) 52(9), September 2011, pp. 1174–1180 (Hosaka’s education, navy service and the Ohka, Matsudaira’s laboratory and the ride-comfort meter, the Fulbright year at MIT, Den Hartog and Wiener, return in July 1953, the 1954 study group with Ohno, the July 1955 trip and the “bits” quote, the 1956 laboratory, the Bendix G-15 in April 1957, the 1957 specification, the 1958 order and Tani, Tokyo station and ten Tokyo stations, four trains and 3,600 seats, fourteen days, the move to the University of Tokyo in October 1959, the 1961 committee and the MARS-2 plan, “no word OS”, the May 1961 IPSJ talk, Ohsuga’s control software, the wooden type blocks, MARS-101 in February 1964, System/360 and the multiplexer channel, the Shinkansen’s manual booking, MARS-102 and the Green Window at 152 stations and 239 trains, the Toyota CAD work)
- 穂坂衛, 大野豊: 『予約機械』 (Reservation Machine), Kyoritsu Shuppan, 1959 (NDL Search record), with an abstract translation of the MARS-1 specification prepared for the IEEE Milestone nomination (four trains named, three sections, fifteen days, 3,600 seats and 900 per train, the functions, checks, 0.15 s, 50 baud, under three seconds, the Mars name)
- 日本鉄道電気技術協会 マルス分科会: 『マルス発展史』 (MARS Development History), April 2013, abstract translation prepared for the IEEE Milestone nomination (the research themes of 1955 and 1956, the Bendix G-15D in 1957, the Magnetronic Reservisor comparison, Ohno’s logical design, the 1958 Hitachi contract and Tani, installation at Tokyo station in March 1959 and tests from August, start on 18 January 1960 for trains from 1 February, two trains and two more in June, the Mars name, the system’s generations, growth from 3,600 to a million seats a day and from 10 to 9,500 terminals, telephone booking in March 1975, the Green Window in 1965)
- Institute of Electrical Engineers of Japan: 「でんきの礎」 MARS-1 entry (2008), with translation prepared for the IEEE Milestone nomination (installation at Tokyo station in 1959, ten terminal sets at nine stations, Kodama from January and Tsubame from June 1960, Osaka and Nagoya in February 1961, service until October 1963, the generations to MARS-501, the Railway Museum)
- IPSJ Computer Museum: MARS-1 and Japanese version (Hosaka and Ohno as designers, the 1958 order, Tani and the Totsuka plant, drum dimensions and 400,000 bits, circulating registers, the 900-bit registers, transistor, diode, and tube counts, the checks, 99.86 and 99.95 percent availability)
- IPSJ Information Processing Technology Heritage: MARS-1 (heritage item listed under 2008, the preserved units at the Railway Museum; the entry gives the drum as 600,000 bits, against 400,000 on the museum page)
- IPSJ Computer Museum: Hosaka Mamoru (life dates and death on 26 October 2016, MIT 1952–53, the proposal of a task-sharing multi-computer system, MARS-101 from February 1964, IPSJ president 1977–78, CAD research)
- Amanda Davis: “The First Ticket Pre-Purchasing System Was Created 65 Years Ago”, IEEE Spectrum, 17 November 2025 (paper ledgers and double bookings, Hosaka’s 2006 Computer Pioneer Award, MARS-102 in October 1965 with three computers and up to 150,000 seats)
- Hitachi: “MARS-1, the World’s First Online Seat Reservation System, Recognized as an IEEE Milestone”, 29 August 2025 and Railway Technical Research Institute press release, 29 August 2025 (milestone title and citation, approval on 20 May 2025, Hosaka as originator, circuit design and manufacture completed in July 1959, more than a million tickets a day by 1991, the transfer to Railway Information Systems)
- Hitachi: 「世界初のオンライン座席予約システムはいかに誕生したか」 (“How the world’s first online seat reservation system came about”), 15 July 2026 (paper ledgers checked by telephone before MARS, the May 2026 plaque ceremony in Tokyo and its three recipients, JR Systems founded in December 1986)
- MONOist: 「1日取扱高100億円超を扱う座席予約・切符販売システム『MARS』 技術の進化とは」 (“MARS, the seat reservation and ticketing system handling over ¥10 billion a day”), 25 May 2026, page 2 (MARS-105 in 1972, MARS-301 in 1985 with five computers, MARS-305 in 1996 with two, MARS-501 in 2004, MARS-505 from 2020 for internet sales, inbound travellers, and payment management)
- Railway Information Systems (JR Systems): About JRS (operation of MARS since privatisation, 99.999 percent availability)
- Image: MARS1(1).jpg by Hirakawa (CC BY-SA 4.0), via Wikimedia Commons