Repository navigation
feat(cobol-to-java): PL/I programs through the pipeline (#3623, part 1) - #3721
Merged
Merged
Conversation
A PL/I program has no PROGRAM-ID. GalaxyIR now names it: a PL/I file whose external procedure is OPTIONS(MAIN | FETCHABLE) (raw_arch_api, #3576) is a program named after its member (#3491's load-module rule); an %INCLUDE member stays a non-program. The default (COBOL-scoped) joins are unchanged: 0 of 49 IR joins move on any corpus. Refractor: with the engine DB, each PL/I program gets an engine-built IR dump (engine_ir_dump: metadata, units, %INCLUDEs, CICS-ness, unresolved external calls) and a verified skeleton; the language-scoped joins (call_contracts, data_flows, commarea_contracts, program_interfaces, ...) are computed for PL/I too when the estate has PL/I programs. A PL/I-only estate no longer exits. Java: every language-independent forge now runs on PL/I facts. DSF (431 PL/I programs): - 409 @transactional CICS services (22 commits, 131 rollbacks, 321 abends, 517 handlers); - 447 LINK / 366 XCTL wired, 54 data-driven dispatches; - 58 VSAM entities + repositories; - TS queue messaging; - traceability and worklist. zopeneditor gains its PL/I services and a Spring Batch job (ZDEPSM1 runs PSAM1). Also: - a mock service's class is named with the same java_class_base as its file (DSF's `..._ØVRIGE_...` made them differ: a compile error); - the worklist says "program sources", not "COBOL sources". PL/I record widths / COMMAREA / DECLARE DTOs: #3720. Compiles 34/34 (DSF, zopeneditor x 17 configs). Pure-COBOL corpora byte-identical (CardDemo, CBSA, GENAPP, zECS x 3 configs). Ledger clean. Snapshots re-blessed (worklist wording only). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Contributor
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of #3623; part 2 is #3720. Part of #3625.
What
Until now, no PL/I program reached the Java pipeline: the engine's IR only knew COBOL
PROGRAM-IDs. DSF's 1,473 PL/I files, with 8,012 call sites, 3,251 CICS operations, 1,761 unit-of-work rows and 29,414 DECLARE items, produced nothing.galaxy_ir._name_pli_programs). A PL/I file whose external procedure isOPTIONS(MAIN | FETCHABLE)(the existingraw_arch_apisignal, Completeness report: score PL/I and HLASM programs, not only COBOL #3576) is a program, and its name is its member (CICS coverage: PL/I parity -- CICS call sites, handlers / UOW, data moves #3491's load-module rule). An%INCLUDEmember stays a non-program, like a copybook. That's 431 programs in DSF.engine_ir_dump: metadata, units,%INCLUDEs, CICS-ness, unresolved external calls; nothing inferred) and a verified skeleton. The language-scoped joins are computed for PL/I too when the estate has PL/I programs. A PL/I-only estate no longer exits early.@TransactionalservicesMixed estate (zopeneditor): its PL/I programs PSAM1, PSAM1LIB and MACSAMP get services. A Spring Batch job also appears:
ZDEPSM1's JCL runsPSAM1, which the batch classifier (#3622) now sees as an estate program.What is not here (#3720)
PL/I storage widths (
CHAR(n),FIXED DEC,BIT,ALIGNEDpadding, …) aren't in the engine's record layout yet. Three things wait on them:BASEDparameter.DSF's BMS sources aren't in its repository, so its 2,384 SEND/RECEIVE MAP sites are precise "no single BMS source defines it" TODOs.
Also fixed
INSERT_HEND_OG_DE_ØVRIGE_SEGMENTERgaveInsertHendOgDeØvrigeSegmenterServicein a file named…DeVrige…, a compile error. Both now usejava_class_base.Evidence
--javaall PASS.test_pli_pipeline.pyruns a real PL/I CICS scan: a main procedure with LINK, WRITEQ TS, SYNCPOINT and an internal CALL, a second program, and an%INCLUDEmember that must not be a program. It checks through to the IR dump, skeleton, service wiring and manifest.🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g