Skip to content
DB2 & data

DB2 for z/OS

IBM's relational database on the mainframe, where a great deal of the world's banking and insurance data is stored.

Also written Db2, DB2, Db2 for z/OS

DB2 for z/OS is the relational database that runs on the mainframe. IBM now writes the name as Db2, and you will see both spellings; they are the same product.

It stores data as tables of rows and columns and is queried with SQL, so anyone who has used a relational database elsewhere will recognise the model immediately. What differs is scale and the environment around it. A large DB2 system holds billions of rows and serves tens of thousands of transactions a second, with recovery guarantees to match.

It runs as a subsystem, started with the system and shared by everything on it. Batch jobs read and write it, CICS transactions read and write it, and programs in COBOL and other languages access it through SQL embedded directly in their source.

The difference from a database you might run on a laptop is mostly in the surrounding process. Access is granted through the security manager, programs are bound before they can run, and changes to table structures go through controlled release procedures.

Browse all 115 terms

Learn this properly.

Use DB2 for z/OS for real in Mainframe101, in your browser, with Zed beside you. Join the waitlist.

Early access and updates. No spam, unsubscribe any time.