Online transaction processing
Answering many small requests straight away, while a person waits.
Also written OLTP, online processing
Why it matters. A card payment or a balance check at ZedBank is online work. Overnight batch is the other half.
See it
Follow a payment
Tap to pay, and watch where it goes.
- Your cardYou tap to pay £3.50 for a coffee.
- The card readerThe shop's reader sends the request on.
- The card networkIt finds the bank that gave you the card.
- The bank's mainframeChecks the account, the balance and the fraud rules.
- Written downThe money moves, and it's recorded once. Never twice.
- ApprovedThe answer goes back the way it came. Coffee's yours.
Remember
- Online work is small, quick, and someone is waiting for the answer.
- Batch work is big, runs in bulk, and nobody waits.
- On the mainframe, CICS and IMS TM are the usual tools for online work.
The usual mistake
Online means work done over the internet.
Here, online means the answer comes straight away. It can be a till, a branch screen or a phone app.
Online means an answer now. Batch means a result later.
On real z/OS
MF/OS models CICS for online work. IMS TM, MQ and web front ends aren't modelled, and there is no real load: one learner uses one region at a time.
Where can I learn this hands-on?
Right here, at ZedBank. You take a junior job at a simulated bank and learn each part of the work by doing it, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- CICSThe transaction manager that runs online mainframe applications, and the software behind a great many screens bank staff use.
- CICS transactionOne unit of online work in CICS: the whole exchange of receiving a request, doing the work, and sending a response.
- Batch processingRunning work in bulk, without anyone watching, usually on a schedule. The overnight run that settles a day of transactions.
- Commit and rollbackMaking a set of changes permanent together, or undoing them together, so a transaction never half-happens.