Skip to content
ALB Wiki

COMTRAN

COMTRAN

COMTRAN — the COMmercial TRANslator — was IBM's 1957 answer to a question FORTRAN had just made urgent: if scientists got a language that looked like formulas, what did the people doing payroll get? Bob Bemer — who would later give computing the escape sequence and the term COBOL-era's loudest Y2K warnings — developed COMTRAN for the IBM 705 as the business counterpart to FORTRAN's scientific one, in conscious response to Grace Hopper's FLOW-MATIC on the UNIVAC side.[1]

Its claim on history is one concrete invention: COMTRAN was the first language with a picture clause — a declarative template describing how a data item should be formatted (999V99-style strings of digit/letter codes). The idea — say what the field looks like, not how to print it — became one of COBOL's most recognizable features and persisted in business languages for decades.[2]

What COBOL kept

When the CODASYL committee assembled COBOL in 1959–60, it didn't pick one predecessor — it absorbed several, and COMTRAN's genetic material is directly traceable in the finished language:

  • the picture clause
  • paragraphing — code divided into named paragraphs, line breaks insignificant
  • paragraph names as jump targets — GO TO a name, not a line number
  • the AT END clause on file input
  • the figurative constant HIGH-VALUE
  • RETURN-CODE — a numeric value passed back to the operating system on termination

[3]

The language, preserved

A COMTRAN payroll program survives in the reference manual — English-ish, paragraph-named, visibly mid-way between FLOW-MATIC's sentences and COBOL's divisions:

GET, SET, GO TO a named paragraph, AT END on every file read, HIGH.VALUE as end-marker — the idioms are all still legible in COBOL sixty-five years later.[4]

Where it sits

COMTRAN is a transitional fossil done right: it lost the language war — COBOL, the standard, won — but the winner's DNA proves the loser wrote important parts of the spec. The picture clause alone justifies the article; that Bemer's language also normalized named-paragraph control flow and AT END makes it one of the most influential languages nobody uses.

Check your understanding

  • Who developed COMTRAN, when, and as a counterpart to what?
  • What formatting feature did COMTRAN introduce — the first of its kind?
  • Name three COBOL features traceable to COMTRAN.
  • What language did COMTRAN lose to?
Show answers

1 — Bob Bemer at IBM, 1957 — the business counterpart to FORTRAN, answering Hopper's FLOW-MATIC. 2 — the picture clause — declarative output formatting via character/digit templates. 3 — any of: picture clause, named paragraphs as GO TO targets, AT END, HIGH-VALUE, RETURN-CODE. 4 — COBOL — which absorbed COMTRAN's features in standardization.

Footnotes

  1. ↑ COMTRAN — Bemer, IBM, 1957, the business-FORTRAN intent, and the FLOW-MATIC influence
  2. ↑ COMTRAN — first picture clause; see also the picture clause article
  3. ↑ COMTRAN contributions — the specific features COBOL inherited from COMTRAN
  4. ↑ IBM Commercial Translator General Reference Manual F28-8043 (June 1960), p. 87 — the payroll sample program, preserved at bitsavers
Categories: History · Languages · Programming
This page was last edited 2026-10-22 13:43:00 UTC by ALB Team. What links here