# Mainframe KIT

> Free mainframe tools that run entirely in the browser: no account, no upload, no tracking scripts. Every code explanation cites IBM's own documentation. Companion to Mainframe Path (https://www.mainframepath.com/), the free training site.

Mainframe KIT is a toolbox for people who work with IBM mainframe (z/OS) files, jobs and errors: read and decode data files with a COBOL copybook, check JCL, explain abend, SQLCODE, CICS, MQ and RACF messages, and practise COBOL and REXX in a step-through debugger. Nothing you paste leaves your browser. It does not connect to a mainframe and does not use AI to answer.

## Tools
- [Copybook viewer](https://mainframekit.com/tools/copybook-viewer/): Paste a COBOL copybook and see every field's position, length and type.
- [Record decoder](https://mainframekit.com/tools/record-decoder/): Read a mainframe data file with its copybook as a table, CSV or JSON.
- [Packed decimal calculator](https://mainframekit.com/tools/packed-decimal/): Turn numbers into packed, zoned or binary hex, and back.
- [EBCDIC converter](https://mainframekit.com/tools/ebcdic-converter/): Convert text to EBCDIC hex and back, in seven code pages.
- [Mainframe date converter](https://mainframekit.com/tools/date-converter/): Julian YYDDD, CYYDDD, Lilian days and STCK clock values to real dates.
- [Block size and space calculator](https://mainframekit.com/tools/block-size/): Best BLKSIZE for your record length and the space a file needs on 3390.
- [JCL checker](https://mainframekit.com/tools/jcl-checker/): Find common JCL mistakes and read each statement in plain English.
- [JCL generator](https://mainframekit.com/tools/jcl-generator/): Fill in a form to get ready-to-run JCL for everyday jobs.
- [DFSORT helper](https://mainframekit.com/tools/dfsort-helper/): Build SORT, INCLUDE and OUTREC statements, or explain existing ones.
- [COBOL debugger](https://mainframekit.com/tools/cobol-debugger/): Step through a COBOL program line by line and watch every field change.
- [Why was I denied?](https://mainframekit.com/tools/why-denied/): Paste a RACF ICH408I message to see why access was refused and what to ask for.
- [Test data masker](https://mainframekit.com/tools/test-data-masker/): Replace names, accounts and other sensitive fields in a mainframe file with realistic fake values.
- [Db2 SQL explainer](https://mainframekit.com/tools/db2-sql/): Paste a SQL statement and read it in plain English: order of evaluation, host variables and the SQLCODEs to expect.
- [COBOL structure analyser](https://mainframekit.com/tools/cobol-structure/): See a COBOL program's paragraphs, PERFORM and GO TO links, CALLs, files and unreachable code.
- [REXX lab](https://mainframekit.com/tools/rexx-lab/): Step through a small REXX program line by line and watch its variables, output and calls.
- [Test data generator](https://mainframekit.com/tools/test-data-generator/): Paste a copybook and get a valid test file of any size, with values you can fix per field.
- [JCL compare](https://mainframekit.com/tools/jcl-compare/): See which steps, DD statements and parameters differ between two versions of a job.
- [Copybook compare](https://mainframekit.com/tools/copybook-compare/): See which fields were added, removed, moved or resized between two copybook versions.
- [Mainframe Migration Checker](https://mainframekit.com/tools/migration-data-check/): Migration data check: compare a source and a target data file field by field after a migration, or quickly compare any two record files with one copybook.
- [Job log reader](https://mainframekit.com/tools/job-log-reader/): Paste a whole job log and see the first failure, a timeline by step and every code found, with links to this site's code pages.
- [What is this file?](https://mainframekit.com/tools/file-health/): Paste or drop a file and see what Kit recognises, what it reads fully, what it only sees the shape of and what it does not read, with the next tool to open. It includes the file health check for data files.
- [Site search](https://mainframekit.com/tools/ask/): Search by code or in plain words; results come only from this site's pages.

## Looking up a code
- [Error and message codes](https://mainframekit.com/codes/): abend, SQLCODE, CICS, MQ and security codes, each with a plain-English explanation and a link to IBM's page.
- [Site search](https://mainframekit.com/tools/ask/): search by code or in plain words.

## About
- [How it works and the privacy promise](https://mainframekit.com/how-it-works/)
- [Learn the subject on Mainframe Path](https://www.mainframepath.com/)
