How to use this tool
What it does
Reads a copybook and writes a valid test file of the size you choose, with values you can fix per field.
How to use it
- Paste the copybook, or press Example.
- Set the record count, format and code page; fix values per field if you want.
- Press Generate, then download the file.
What it cannot do
- It uses the first 01 record of the copybook.
- It does not apply VALUE clauses or rules between fields; fix those fields yourself.
- It does not check that your system accepts the file.
- Next tool: Record decoder ▸ Read the generated file back.
- Guide: all the guides
2 · File settings
The same copybook and seed always give the same file.
3 · Fixed values (optional)
The file is made here in your browser and saved to your device; nothing is uploaded. The first records are shown as a table so you can check the values before you download.
Covers: Packed (COMP-3), zoned, binary (COMP) and text fields of the first 01 record of your copybook, including OCCURS tables, in fixed (FB) or variable (VB) files, in the code page you choose.
ACCURACY · CHECKED AGAINST IBM RULES
Sizes follow the same copybook rules as the copybook viewer, and every field is written by the encoders the record decoder reads back; round-trip tests check both. The values are made up and follow no business rules. Confirm that your program accepts the file.
Check it yourself in one minute
- Open your browser's developer tools: in Chrome or Edge press F12 or right-click and choose Inspect; in Firefox press Ctrl+Shift+E for the Network Monitor; in Safari first turn on Show features for web developers under Settings, Advanced. Then open the Network tab.
- Keep the log across page loads (Chrome: Preserve log; Firefox: Persist Logs), then use the tool: paste your text or open a file and press the button.
- Look at the list. You will see only this page and its own files, loaded when the page opened. Nothing new appears when you use the tool.
- Still unsure? Switch Wi-Fi off and try again. The tool still works.
What the badge counts: requests the browser logged after this page finished loading, other than the site's own files. It reads the browser's own record and makes no request of its own. If your browser cannot give that record, the badge says so. The badge is a convenience; the developer tools are the proof.
The rule that enforces it
Every page carries this Content Security Policy. The browser itself refuses any request outside it; connect-src 'none' blocks fetch, XHR and WebSocket.
default-src 'none';
script-src 'self';
style-src 'self';
img-src 'self' data:;
font-src 'self';
connect-src 'none';
object-src 'none';
form-action 'none';
base-uri 'none';
manifest-src 'self';
worker-src 'self'Suggest a tool or report a wrong answer · How it works and why it is safe
No mail app opens? Write to hello@mainframepath.com . Please do not send confidential code or data.