Documentation

Knowledge Graph

How programs, jobs, and data connect across your codebase.

Graph Model

Codegraphs analyzes structural relationships across your codebase: which programs call which, which JCL jobs execute which programs, which datasets are read and written, and how modern code calls, imports, and inherits across modules and classes.

A COBOL program's call and data relationships link through to the JCL jobs that execute it, so you can trace a dataset from the job that writes it to every job that reads it — and see the same kind of dependency view for modern languages, function to function.

Pre-built Registries

For large schemas, Codegraphs pre-computes two registries after indexing:

  • COBOL Callgraph Registry — all program-to-program CALL relationships with transitive closure. Supports BFS expansion to configurable depth for impact analysis and dead code detection.
  • JCL DSN Registry — cross-job dataset dependency tracking. For any dataset, shows every job that writes to it and every job that reads from it, enabling full data lineage tracing.

These registries power the graph panel in the UI and the trace/call-relation API endpoints.