Mainframe
A mainframe is a large central computer built to process very high volumes of transactions with high reliability and continuous availability. Banks and insurers use mainframes for core accounting, payment and policy processing, usually running batch and online workloads side by side.
What it is
A mainframe is a large central computer designed to process very large numbers of transactions at once, with high reliability, security and availability. Many users and programs share one system, which is managed centrally and can be upgraded or repaired while the service continues.
Four features describe a mainframe in practice:
- Capacity: it handles a high volume of small, similar transactions, such as account postings and card authorisations.
- Reliability: the hardware and operating system are built to stay available, with redundant components and recovery facilities.
- Workload mix: online transactions during the day and batch processing, the bulk runs of postings, interest and statements, usually overnight.
- Long-lived programs: much of the application code is written in COBOL, a business-oriented programming language, and has been extended over many years.
In a bank, the mainframe often hosts the core banking system: the ledger of accounts, balances and postings. Newer channels such as mobile apps and payment gateways then connect to it through interfaces.
Why it matters
The mainframe holds the books of record. If it stops, accounts cannot be posted and payments cannot be settled. For that reason it is a central topic in operational resilience and in the supervision of information and communication technology (ICT) risk.
The ECB’s banking supervision names legacy systems, including mainframes and COBOL, among the factors that make operational resilience harder to achieve. In a speech on ICT resilience and reliability, it states that legacy systems often lack flexibility and integration. Replacing them is therefore a recurring change programme, handled through legacy decommissioning and migration projects.
Worked example
Illustrative numbers. A bank runs a nightly batch on its mainframe that posts the day’s transactions to accounts.
- Input: 2,000,000 transactions collected during the day.
- Posting speed: 500 transactions per second.
- Posting time: 2,000,000 / 500 = 4,000 seconds, about 67 minutes.
- The batch window before online banking reopens is 4 hours, which is 14,400 seconds.
- Spare time: 14,400 - 4,000 = 10,400 seconds.
If volumes triple, posting takes 12,000 seconds and the spare time falls to 2,400 seconds. A programmer or capacity planner sees that the window can still be met but with little room for a rerun after a failure.
Who uses it
- Bank programmers maintain and test the application code that runs on the mainframe and its batch schedules.
- Business analysts describe how a business change alters the programs and interfaces that depend on the ledger.
- Change and transformation managers plan migration, decommissioning and the cut-over from old to replacement systems.
- IT auditors review access control, change management, recovery testing and the reliance of reports on the system.
Common confusions
- A mainframe is not a supercomputer. A supercomputer maximises speed on a single large calculation, while a mainframe maximises throughput and availability across many transactions.
- A mainframe is not the same as a core banking system. The mainframe is the hardware and operating environment, and the core banking system is the application that may run on it or on other platforms.
- COBOL is a language, the mainframe is a platform. Programs in other languages also run on mainframes, and COBOL also runs elsewhere.
- Moving to the cloud does not remove the need for the logic in the old code. Migration projects must first document what the programs do.