punched card

term

programmingops culture

Kept in this browser · My desk

A card of stiff paper in which holes at agreed positions record data or instructions; in its classic IBM form, 7⅜ by 3¼ inches with 80 columns of 12 punching positions, one character per column.

Holes in cards first controlled looms: Bouchon's paper roll of 1725, Falcon's chained cards of 1728, Jacquard's loom of the early 1800s. Babbage planned to program his Analytical Engine with them, and Herman Hollerith made them data for the 1890 United States census, read electrically by tabulators. IBM's rectangular-hole card of 1928, with 80 columns and, from 1930, 12 rows, carried most of the world's data for half a century, then programs one line per card. Its legacy survives in EBCDIC, in FORTRAN's and COBOL's 72-column lines and in the 80-character width of terminals.

What it is. A punched card is a record you can hold: one card for one transaction, one person in a census or one line of a program, read by machines that sense where the holes are. In its classic International Business Machines (IBM) form it has 80 columns of 12 punching positions and carries one character per column, so a line of code on one card is about 80 bytes, as IBM's history page puts it.

The code. Each column has 12 positions, named from the top 12, 11, 0 and 1 to 9. A digit is one hole; a letter is a zone punch, 12, 11 or 0, plus a digit punch: A to I are 12 with 1 to 9, J to R are 11 with 1 to 9, S to Z are 0 with 2 to 9, per IBM's manual for the 029 keypunch. Special characters add an 8 punch to a digit from 2 to 7 and an optional zone: the comma is 0-8-3. American National Standards Institute (ANSI) standard X3.26 fixed the code, mapping 256 hole patterns to the American Standard Code for Information Interchange (ASCII) and to 128 more characters, and printed the Extended Binary Coded Decimal Interchange Code (EBCDIC) card code alongside: letter bytes C1 to C9, D1 to D9 and E2 to E9 are the three zones.

The physical card. ANSI X3.21-1967 places the rows 0.250 inch apart and the columns 0.087 inch apart, the grid symmetric on a card 7.375 inches long, and allows a hole centre 0.018 inch off its point when read, because humidity can change a card's length by that much. The card is 0.007 inch thick, so a 1,000-card program deck is 7 inches tall. The rectangular hole has a reason, given in Clair D. Lake's United States patent 1,772,492, filed on 20 July 1928 for the Tabulating Machine Company and granted on 12 August 1930: holes elongated in the direction of card feed give the reading brush enough time to make electrical contact while the columns sit closer together, and a line of small round holes would tear like a perforated stub. The stock itself mattered: IBM's 1946 course The Story of the IBM Card says a card had to be a perfect non-conductor, free of carbon specks, pinholes and metal, so in the 1910s every card was run through a tabulator at about 75 a minute to find any that would close a circuit where no hole was punched.

How 80 columns arrived. IBM's own account, quoted by the Computer History Museum, gives its first card 22 columns of 8 positions, then 24 of 10 in 1900, then 45 columns of round holes; around 1914 the company that became IBM made a 34-column short card and the 45-column long card, already 3¼ by 7⅜ inches. When customers needed more data per card, Thomas J. Watson Sr. set Lake and J. Royden Peirce to design independently: Peirce kept round holes and made each mean more than one thing, Lake proposed smaller rectangular holes. James W. Bryce, asked to judge, chose Lake's design because it could be built quickly and changed the tabulators least, and IBM's history page adds that it suited only IBM's machines. The card of 1928 had 80 columns and 10 rows; a 1930 version added two rows, making 12. Remington Rand answered in 1930 with a 90-column round-hole card.

Making and selling them. Cards were sold, not rented: in 1936 the Supreme Court recorded IBM's sales at 3 billion cards a year and struck down leases that forbade other makers' cards. Around 1914 IBM made about 2 million cards a day on presses that printed, cut and clipped a corner at 60 a minute; Fred Carroll's rotary press of the 1920s ran at 460 a minute and later models at 850, and by 1937 IBM had 32 presses in Endicott, New York, turning out 5 to 10 million cards a day. In 1945, the 1946 course reports, IBM's plants averaged 60 million cards a day, 360,000 pounds of paper. In the mid-1950s cards were about 20 per cent of IBM's revenue and 30 per cent of its profit.

Cards as programs. A program was a deck, one line per card. FORTRAN (Formula Translation) reserved columns 1 to 5 for a statement label, column 6 for continuation, 7 to 72 for the statement and 73 to 80 for a sequence number, so a sorter could put a dropped deck back in order; programmers numbered in tens to leave room for new cards. COBOL (Common Business-Oriented Language) put the sequence number in 1 to 6, an indicator in 7, Area A in 8 to 11, Area B in 12 to 72 and identification in 73 to 80. IBM's 2260 display of 1964 offered 80-character lines, and terminals kept the width. The IBM 1401 of 1959 read cards through its 1402 at 800 a minute and punched 250.

The end, and what went wrong. Computers moved files to magnetic tape from the 1950s, and in 1962, the Engineering and Technology History Wiki (ETHW) reports, IBM's computer revenue first passed its punched-card revenue. Cards stayed on as program input into the 1970s and as ballots for longer. Prescored Votomatic ballots were punched with a stylus, and a piece only partly torn out, a hanging chad, could jam a reader; Douglas W. Jones notes there was never a chadless keypunch, and that after the contested 2000 vote in Florida there was no conclusive evidence of chad jams. The Help America Vote Act of 29 October 2002, Public Law 107-252, set a payment of 4,000 dollars for each precinct that had used punch-card or lever machines in November 2000, to replace them in time for the federal election of November 2004 unless a State certified good cause for delay. A common misreading credits the British Tabulating Machine Company with an 80-column card in 1919; the Computer History Museum's volunteers concluded in 2012 that the machine in question was most probably built by IBM under a British nameplate and converted to 80 columns later, probably after IBM's first alphabetic tabulators of 1931 to 1933.

In Brazil. The 1920 census used 44 million cards, the 1940 census punched 97,097,032, and the payslip is still called a holerite, after Hollerith.

Also known as: punch card, punchcard, IBM card, Hollerith card, 80-column card, unit record, cartão perfurado, cartão IBM

Sources

← Back to P Back to the glossary