Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

Sample library

Realistic made-up files to try the tools with, with no mainframe needed. Each set says what the tool should show.

All data invented

All names, numbers, data set names and values in this sample are invented. Nothing here comes from any real system, company or person. The files are written by this site's own tools when the site is built; the answers below are checked by automated tests against those tools on every release, so if the tool shows something different, your copy of the file or your browser is the thing to check.

Customer master

COBOL copybook and a matching EBCDIC file: 25 fixed records of 200 bytes, with 2 records holding deliberately bad packed data.

Use with: File health check, Record decoder, Copybook viewer

What you should see
  • File health check: 25 records of 200 bytes, fixed layout. Verdict "Layout partly fits (92% of records)": 23 of 25 records pass. CM-BALANCE fails in record 7 (the bytes are spaces, X'404040404040') and CM-LAST-PAYMENT fails in record 19 (byte 3 has A where a digit belongs). Every other field passes in all 25 records.
  • Record decoder: records 7 and 19 show INVALID in those two fields; the other 23 records decode cleanly.
  • Copybook viewer: CUSTOMER-MASTER-REC is 200 bytes, with three COMP-3 fields (5, 6 and 5 bytes) and one COMP field (2 bytes).

Download set (.zip)

Open it in: Open in File health check ▸ Record decoder Copybook viewer

Files in this set (3)

Nightly payroll job

A 3-step JCL job with deliberate mistakes: a missing DD, a new data set with no SPACE and a risky DISP.

Use with: JCL checker

What you should see
  • Line 7, STEP010: SORT normally needs DD SYSIN, which is missing from this step.
  • Line 9, SORTOUT: a new data set without SPACE.
  • Line 19, SYSUT1: DISP=(SHR,DELETE) deletes a data set that other jobs may be sharing.
  • Three findings in total (all warnings), and nothing else.

Download set (.zip)

Open it in: Open in JCL checker ▸

Files in this set (2)

Order feed v1 vs v2

Two versions of one record layout (53 and 59 bytes) and a few records written in each.

Use with: Copybook compare, Mainframe Migration Checker

What you should see
  • Copybook compare: version 1 is 53 bytes and version 2 is 59. 1 field added (ORD-CHANNEL), 2 changed (ORD-DATE from PIC 9(8) to X(10), ORD-QTY from PIC 9(5) to 9(7)), 5 moved (ORD-CUST-ID, ORD-STATUS, ORD-UNIT-PRICE, ORD-CURRENCY, ORD-NOTE) and none removed.
  • Migration data check (key ORD-ID, rule ORD-DATE = date): 4 source records and 3 target records. 2 equivalent (50010001 and 50010003: only the date is written as YYYY-MM-DD), 1 different (50010002: ORD-QTY 3 became 4), 1 missing in the target (50010004), 0 identical. ORD-CHANNEL exists only in the target, so it is not compared.

Download set (.zip)

Open it in: Open in Copybook compare ▸ Mainframe Migration Checker

Files in this set (5)

Each download lists its files, the record layout and the exact answer. Data files are EBCDIC (code page 037); choose them in the tool's file box, or use "Open in" to fill the tool with the sample text. Nothing is uploaded: the buttons only move the text between two pages in this browser tab.