AB-285: COBOL codebase inventory and migration analysis - #284
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Adds documentation/migration/ covering all 38 program files, 20 copybooks, 16 JCL members, DB2 DDL, VSAM definitions and CICS/BMS resources: program inventory + call graph, data-flow map, copybook-to-entity mapping, business-rules catalog, JCL job inventory, and a traceability index with a consolidated risk register.
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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.
Summary
Documentation only (
documentation/migration/, no changes undersrc/). Source-grounded inventory of the COBOL system for Jira AB-285 (epic AB-276), cross-checked againstsystem-architecture.mdanddata-dictionary.md. Where the source and the docs disagree the disagreement is recorded as a risk, not silently reconciled.README.md.cbl,.cpy, JCL, DDL, VSAM, CSD/BMS artifact → where it is covered) + consolidated risk register R-01…R-20program-inventory-and-call-graph.mdCALL/EXEC CICS LINKgraph, per-program I/O, SQL, CICS, error behaviour, copybook usage matrix, missing dependenciesdata-flow-map.mdTRANHIST → POSHISTfield lineagecopybook-entity-mapping.mdbusiness-rules-catalog.mdCODE/DOC/BOTH/CONFLICT/DEADwith the enforcing paragraphjcl-job-inventory.mdASSIGNs, documented vs actual batch cycleEvery relationship is derived from literal source statements (
CALL '…',LINK PROGRAM(…),COPY,ASSIGN TO,EXEC SQL,EXEC CICS, JCLDD, IDCAMSDEFINE, DDL, CSD, BMS); architecture prose that has no implementing code is taggedDOC/missing.Headline findings (details in
README.mdrisk register).cblfiles —batch/POSUPDT.cblis a zero-byte placeholder, enumerated as P-04.TRNVAL00 → POSUPD00 → HISTLD00 → RPTGEN00does not exist in source or JCL; no code path connectsPORTFILE/TRANFILEtoPOSMSTRE/TRANHIST/DB2POSHIST.PORTTRAN's buy/sell/fee arithmetic (2200-UPDATE-POSITIONS) is never performed and relies on the missingPORTRECcopybook.DB2STAT,PORTREC,SQLPOScopybooks are referenced but absent.PORTDEF.jcl200/18,vsam-definitions.txt400/12,PORTMSTR.cbl100/10;PORTFLIO.cpycomputes to 148).TRANHISTis ESDS in the data dictionary, KSDS in IDCAMS and code.HISTLD00loadsPOSHISTfromTH-*fields that no copybook defines; there is no skip-to-checkpoint logic despite documented restart.INQMAP/INQMNUvs BMSMENMAP/POSMAP/HISMAP/ERRMAP;INQHISTselectsTRANS_UNITS… vs DDLQUANTITY…;ERRHNDLis LINKed but not in the CSD;DB2ONLNoverwrites its status with the connection count.Verification
src/programs,src/copybook,src/jcl,src/database,src/cics,src/mapsand everyCREATE TABLE/INDEX/VIEW/PROCEDUREname appears in the docs.PICclauses and compared withLRECL/RECORDSIZE/ data dictionary.make check/make allcannot run — there is noMakefileortools/preprocess.shin the checkout; not relevant to this docs-only change but worth fixing in the blueprint.Link to Devin session: https://app.devin.ai/sessions/62ebf87ae24c48ba91d52d6cfd75bcd8
Open in Devin Desktop: https://app.devin.ai/desktop/session/62ebf87ae24c48ba91d52d6cfd75bcd8?variant=devin