You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extract COBOL SELECT/ASSIGN and OPEN modes (and JCL DD bindings) by name, so dataset lineage can come from the engine #3201
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
Found by the #3120 differential, and a stated precondition for #3120's dataset-lineage half.
The engine extracts none of a COBOL program's dataset boundary by name:
SELECT <file> ASSIGN TO <ddname>: file ↔ DD mapping
OPEN INPUT|OUTPUT|I-O|EXTEND <files>: only counted in io, with no mode or operand
FD record layouts
For JCL, only DSN= values reach raw_imports, not the DD name they bind.
Without these, edge_data cannot express "program P reads DD X, job J binds DD X to dataset D". So the refraction pipeline keeps its own SELECT/OPEN parser (cobol_dag_architect.extract_lineage, cobol_jcl_forge.analyze_cobol_intent) for dataset lineage and zero-trust JCL generation. That parser has its own defects (filed separately).
The ask is a named extraction channel for these, persisted per file. It could be new tables, or a dataset edge kind with the mode as an attribute. Tie-in: #3122 Phase 2 "jcl DD/PGM extraction + edge_data → Spring Batch step definitions / an Airflow DAG". Context: docs/refraction_engine_differential.md (PR for #3120).
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
Activity
fix(refraction): a DFHCOMMAREA maps to a DTO, not a JPA entity (#3233) (
feat(mainframe): named call graph and dataset boundary (#3200, #3201) (…
refactor(mainframe): shared per-file fact-channel helpers + onboardin…
feat(llm): optional Named System Facts section in the LLM brief (#3200/…
feat(mainframe): extract COBOL DATA DIVISION items & FD record layouts (
Engine: resolve JCL PROC/SET symbolic parameters in the dataset fact …
Engine: resolve JCL PROC/SET symbolic parameters in the dataset fact …