Saturday, November 8, 2008

Punched Cards - before computers

The standard punched card, originally invented by Herman Hollerith, was first used for vital statistics tabulation by the New York City Board of Health and several states. After this trial use, punched cards were adopted for use in the 1890 census. A brief description of the use of punched cards in the 1900 census is found in the January 1900 issue of National Geographic, pages 34-36, in an article by Dr F. H. Wines.

Hollerith wasn't working in a vacuum! His idea for using punched cards for data processing came after he'd seen the punched cards used to control Jacquard looms. Jacquard, working in France around 1810, originated the idea of using holes punched in card stock to control the pattern a loom weaves. Many Jacquard looms remain in use to this day, and you can occasionally find strings of Jaquard cards for sale.

 [string of Jacquard cards]
A high resolution image is available.

The string of Jacquard cards illustrated here came from a small rug-making loom in a woolen mill in Amana, Iowa. Each card in this string is 9 inches long by 1.25 inches wide by 1/16 inch thick, but other Jaquard looms used different size cards. Like all Jaquard loom cards, these are strung together on cords. The heavy card stock is required because the "card reader" mechanism of a Jacquard loom is entirely mechanical. Modern high-volume Jacquard looms use metal cards!

The use of punched cards in the Jacquard loom also influenced Charles Babbage, who decided to use punched cards to control the sequence of computations in his proposed analytical engine. Unlike Hollerith's cards of 50 years later, which were handled in decks like playing cards, Babbage's punched cards were to be strung together like Jaquard's. Despite this and the fact that he never actually built an analytical engine, Babbage's proposed use of cards played a crucial role in later years, providing a precident that prevented Hollerith's company from claiming patent rights on the very idea of storing data on punched cards.

Like many modern entrepreneurs, after Hollerith had perfected his first series of electromechanical punched-card machines, including a punch, a tabulating machine to accumulate statistics from the information punched on cards, and a sorting machine, he founded a company, originally the Tabulating Machine Corporation. As with many high-tech startups of today, it had a somewhat rocky start until an experienced manager entered the scene. Thomas Watson, previously working for NCR, took over. One of Watson's moves was to rename the company International Business Machines, and within a few decades, his company had expanded to the point that the Federal government sued it for anti-trust violations.

The overall dimensions of punched cards used for data processing have remained the same since Herman Hollerith invented the medium: 7 3/8 inches wide by 3 1/4 inches high by .007 inches thick. Prior to 1929, this was a standard size for many US banknotes, and Hollerith apparently chose it so that he could store cards in boxes made for the Treasury Department. Today, these dimensions are set by the EIA standard RS-292 media 1 punched card. This standard is augmented by ANSI X3.21-1967 governing the holes in the card and ANSI X3.26-1980 governing the use of the Hollerith code to encode alphanumeric data on cards.

The original code used for punched card data recording in the 1890 census had 22 columns with 8 punch positions each (although there was room on the card for a total of 11 punch positions per column). The coding used on those cards did not encode data in columnar fields, but rather, each punch position was assigned a specific meaning. The need to store more data on each card led to higher density formats, first 24 colums of 10 positions each in the 1900 census (inferred from the 1900 National Geographic article), and then 27 columns of 12 positions each in the 1910 census. By the end of the 1920's, the standard format used 45 columns of round holes per card and 12 punch positions in each column.

In 1928, Hollerith's company, now renamed IBM, introduced the rectangular hole 80 column format, almost doubling the amount of data that could be recorded on a card, and by the mid 1930's, IBM was predicting that round-hole cards would soon be things of the past.

 [round hole sperry punched card]
A high resolution scan is available.

In fact, the round-hole format remained in use into the early 1990s, but in a very limited set of applications! The last use I am aware of is toll tickets on some eastern turnpikes. There are two reasons that the round hole format survived: First, IBM had a patent on their new rectangular format, so competitors were forced to limit themselves to the old format. Second, Remington Rand, one of IBM's major competitors in the pre-computer era, moved from Hollerith's code to a 6-bit code that allowed 90 columns of text to be stored on the old 45 column cards. When Remington Rand bought UNIVAC, they naturally integrated their 90 column card format with UNIVAC computers. In many ways, the UNIVAC card code was superior to IBM's "improved" rectangular hole version!

Oliver J. Jones wrote me that, in addition to surviving on some eastern turnpikes, UNIVAC's 90 column cards also remained in use through the 1960's at Macy's Department store and Lerner Stores, in the retail sector, the US Navy Medical Supply office and the Polaris missle control system, in the military sector, the New York City Tax Department, Long Island Lighting, and more. He sent along an image of the cover from a Remington Rand brochure and a promotional poster.

Mike Albaugh wrote me that he helped dismantle a UNIVAC SS90 system in 1974 or 1975 that had been in use up until the week before. He also saw a similar UNIVAC system in use at the Concord Naval Weapons Station around the same time. These apparently used 90 column cards.

If you look at the punched card equipment sold by IBM after 1931, you will find complete hardware support for IBM's alphanumeric Hollerith code, but you will also find that the majority of the machines sold were limited to numeric applicatons. At a time when, for example, the University of Iowa was punching student names on cards using the Hollerith code, other universities were developing 4-digit numeric encodings of common names so that they could avoid the need for the more expensive alphanumeric equipment.

The book Practical Applicatons of the Punched Card Method in Colleges and Universities, edited by G. W. Baehne an published by Collumbia University Press in 1935, contains an excellent summary of the state of the art in punched card data processing in 1935, including an appendix that appears to be a reprint of IBM's catalog for that year and many illustrated descriptions of typical applicatons.

When cards were used to store fixed-format information for data processing applications, they were almost always printed with format information, so that a casual reader could easily determine what punches on the card held what information. This printing could be quite specialized to one application, or it could merely set off fields in a standard way, with no indication on the card of what the purpose was.

 [punched card retail form]

The card shown here is typical of those used with IBM's line of card processing equipment from the 1930's onward. This particular example was printed for a range of retail applications where it must have been expected that the customer would handle the cards, as indicated by the warning: Do not fold or mutilate. This warning would be unnecessary if the card were only to be handled by data processing workers. While most fields of this card have no clear purpose, it contains an interesting and very specialized feature, a tab the cashier was supposed to tear off along a perforated line when the card was processed. A card with this tab removed would be seen by card processing equipment as having a punch in column 1, row 12.

It is important to note that the typical card processing applications from the 1890's to the 1950's did not require the use of computers! A deck of cards from a retail application, for example, could be sorted by the category field on a card sorter, and then each category could be run through a tabulating machine to sum the price fields of all cards in that category or similar accounting functions.

 [Gardner-Denver wire-wrap punched card]

Usually, fixed format cards documented the format on the top edge of the card, since keypunches almost always printed their textual information along this edge. Sometimes, as illustrated above, the interpretation was elsewhere. Such departures from the norm were most common on cards that were intended to be machine punched, as in this Gardner Denver wire-wrap machine card. This card was used to control a semi-automatic wire-wrap machine, the machine used to wire the backplanes of many of the mainframes and minicomputers of the 1960's. The wire-list for a backplane was typically produced with the aid of computer-aided-design tools, so this card would typically only be read by people during debugging.

In the 1950's, IBM also supported a truncated version of the 80 column card, with only 51 columns. These were frequently used in retail sales and other applications requiring limited storage capacity per card; they saved both bulk and paper, but added complexity to IBM's card processing equipment to allow support of both formats. In many cases, they began life as 80 column cards from which a stub could be torn, for example, as a receipt, leaving a 51 column remainder for tabulation.

No comments: