The Iron-Silicon Bridge: Proving Bit-Exact COMP-3 Packed-Decimal, EBCDIC Collating, and CICS Pseudo-Conversational Equivalence in Agentic Mainframe Modernization
Year: 2026
Type: article
Abstract: Naive large language model (LLM) code translators fail enterprise regulatory audits during IBM z/OS mainframe modernization because syntax translation does not preserve arithmetic, encoding, or transactional semantics. Replacing COBOL COMP-3 packed-decimal fields with IEEE-754 binary floating-point types introduces deterministic sub-cent ledger drift (0.1 + 0.2 != 0.3), translating SORT predicates from EBCDIC (CP037/CP1140) to UTF-8 inverts alphanumeric-versus-numeric ordering, and flattening CICS EXEC CICS RETURN TRANSID(...) COMMAREA(...) boundaries into stateful microservices violates pseudo-conversational lock release invariants. This working paper formalizes three bit-exact equivalence invariants from The Iron-Silicon Bridge: (1) Fixed-Scale Decimal and Nibble-Sign Parity across COMP-3 and SYNC record layouts, (2) Dual-Run Shadow Replay Harnesses with Zero-Tolerance Ledger Diff Gates, and (3) Bounded Agentic Exit Factories governed by deterministic equivalence oracles. Companion Book Portal & COMP-3 Workbench: https://digbijoylabs.com/books/the-iron-silicon-bridge/ | Amazon Kindle: https://www.amazon.com/dp/B0HRP64YPB | Paperback ISBN-13: 979-8-1425-1951-1 (B0HRQ62BYF) | Hardcover ISBN-13: 979-8-1425-2378-5 (B0HRQDC64P) | Open Library: https://openlibrary.org/works/OL46360195W | Open-Source Harnesses: https://github.com/digbijoylabs/iron-silicon-bridge
Author: Thorne, Jay
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7233547753
FWCI:
Cites:
Cited by:
Related to:
