Mainframe & COBOL code analysis
Mainframe & COBOL Code Analysis Platform
Tweezr builds a deterministic map of your COBOL estate, every program, job, field, dependency and business rule, then answers questions about it with citations to the exact program, paragraph and field. On-prem, and nothing leaves your perimeter.
COBOL is where most legacy estates start. Tweezr maps the whole legacy estate around it: the JCL and CICS, the Java and .NET services, the data, and the AI agents working on top.
What it maps
Every artifact the core actually runs on.
Tweezr parses COBOL, JCL, copybooks and the surrounding artifacts into one navigable graph, an explainable model of how the system behaves, not a probabilistic guess.
Programs and call graphs
Every COBOL, PL/I and Assembler program resolved into a traversable call graph, the legacy "central nervous system", with certainty about how everything connects.
COBOLPL/IAssemblerCICSIMS-TM
JCL, batch and scheduling
JCL jobs and steps mapped to the programs and datasets they run. Schedulers such as Control-M, CA-7 and IBM TWS are mapped on-demand per engagement.
JCLControl-M*CA-7*IBM TWS*
Copybooks and schemas
Copybooks, DCLGEN and screen maps resolved to every program that includes them, so a layout change shows its full reach.
CopybookDCLGENBMSMFS
Fields and data lineage
Reverse-engineer and path-trace each field of the data schema, a value traced end to end across programs, files and databases.
VSAMDB2 z/OSIMS-DBSequential files
Business rules
Cross-program business-rule extraction: the "what" and "why" buried in the code, organized and editable, each rule cited back to its source.
The estate around the code
IBM MQ in full; change management, file transfer and security tooling (Endevor, Connect:Direct, RACF and more) on-demand, because real lineage reads all of it.
IBM MQEndevor*Connect:Direct*RACF*
* On-demand: calibrated per engagement, see the full coverage matrix below.
Impact analysis & citations
Know what breaks before anything changes.
Analysis is system-level and cited: every answer points back to the exact program, paragraph and field it came from, re-runnable, with no invented dependencies.
Blast-radius impact analysis
See every program, job and data structure a proposed change touches before a line of code moves, explainable "what breaks if…" answers, not a list of text matches.
Citations to source
Answers are cited to the exact program, paragraph and field, and re-runnable, so an engineer can trust the answer and a manager can sign off.
Root cause by evidence
Trace incidents precisely by evidence, not tribal memory. Root cause analysis takes less than 10 minutes; process archaeology that took a week, under 45.
Batch window optimization
Combine SMF records with extracted process flows to see the nightly batch window as it really runs, and find what can be shortened, reordered or retired.
Grounding for your coding agents
Available as an MCP server: Claude Code, Cursor, GitHub Copilot or any MCP-compatible client can query the map directly, so every suggestion is anchored in verified, system-wide facts.
Tweezr vs. AI coding agents for COBOLOnboarding in under 30 minutes
New developers get productive on a system no one fully remembers via a natural-language interface, in less than 30 minutes.
Deployment options
Runs where your code already lives.
Zero customer data or PII leaves your environment, whichever option you choose.
On-premises
Tweezr operates fully on-premise within your organization's landing zone. The deterministic preprocessing runs on a single machine with no external connectivity required, using your existing AI licenses.
IBM LinuxONE & Linux on IBM Z
Available on and supported on IBM LinuxONE and Linux on IBM Z: ingestion, static analysis, the dependency graph and local model inference run as a native s390x build, not emulation. Inference runs locally on IFLs, with no outbound calls.
Tweezr on IBM LinuxONEYour own cloud
Run Tweezr inside your own cloud tenancy, your code never leaves your perimeter. Or start in our hosted playground with sample code and zero data sharing.
Four ways to try Tweezr
Beyond z/OS
COBOL first, and everything legacy around it.
The same map follows the code past the mainframe: the platforms it runs beside, the ones it moves to, and the tooling around it.
See the full coverage matrixLegacy platforms
IBM i (AS/400)Other heritage platformsThird-party cores
Where the legacy lands
Unix / LinuxContainers & orchestrationModern legacy
Cross-platform
Tooling that runs the estate
FAQ
COBOL code analysis, answered.
What is COBOL code analysis?
COBOL code analysis recovers how a mainframe application actually works from its source: which programs call which, which JCL jobs run them, which copybooks and fields they share, and which business rules they encode. Tweezr does this deterministically, by parsing, not guessing, and keeps every finding cited to the exact program, paragraph and field.
Does Tweezr map JCL and job dependencies as well as COBOL programs?
Yes. JCL is covered in full alongside COBOL, PL/I, Assembler, CICS, IMS, VSAM and DB2 z/OS. Schedulers such as Control-M, CA-7 and IBM TWS are covered on-demand, calibrated per engagement.
How is this different from a static analysis tool?
Tweezr builds the dependency graph a static analyser would, then layers business meaning on top, rules, flows and decision tables your engineers and your AI can read, traverse and edit, and answers questions about it with citations and re-runnable results.
Does our source code leave our environment?
No. Tweezr operates fully on-premise within your landing zone, or natively on IBM LinuxONE and Linux on IBM Z, with no external connectivity required. Zero customer data or PII leaves your environment.
How is Tweezr different from GitHub Copilot or Claude Code?
General-purpose coding agents write and edit code; Tweezr gives them, and your team, a deterministic, system-wide blueprint of the legacy core to work from, over MCP.
Read the full comparison