Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 3.63 KB

File metadata and controls

45 lines (36 loc) · 3.63 KB

CardDemo — Module Stream Map (Step 1: !identify_module_streams)

Repo (SOURCE): COG-GTM/mainframe-modernization-carddemo @ main Generated by: orchestrator (inline), CardDemo online transaction inventory Purpose: enumerate the online transaction streams so one can be selected for COBOL→Java/DB2/Angular migration (STOP 1).

A stream = a user-facing online transaction (a CICS TransID) plus the programs, BMS maps, copybooks and VSAM files it touches.

Online transaction streams (from README.md transaction table + app/cbl)

Stream TransID Program BMS map UI-bearing Primary files touched Writes? Coupling Status
Sign-on CC00 COSGN00C COSGN00 yes USRSEC no entrypoint active
Main Menu CM00 COMEN01C COMEN01 yes — (routing) no routes to all active
Admin Menu CA00 COADM01C COADM01 yes — (routing) no routes to admin active
Account View CAVW COACTVWC COACTVW yes ACCTDAT, CXACAIX, CUSTDAT no reads acct/cust active
Account Update CAUP COACTUPC COACTUP yes ACCTDAT, CUSTDAT yes R/W acct/cust active
Card List CCLI COCRDLIC COCRDLI yes CARDDAT, CXACAIX no reads card active
Card View CCDL COCRDSLC COCRDSL yes CARDDAT no reads card active
Card Update CCUP COCRDUPC COCRDUP yes CARDDAT yes R/W card active
Transaction List CT00 COTRN00C COTRN00 yes TRANSACT no reads tran active
Transaction View CT01 COTRN01C COTRN01 yes TRANSACT no reads tran active
Transaction Add CT02 COTRN02C COTRN02 yes TRANSACT, CCXREF, ACCTDAT yes R/W tran active
Bill Payment CB00 COBIL00C COBIL00 yes ACCTDAT, CXACAIX, TRANSACT yes self-contained active
Report Request CR00 CORPT00C CORPT00 yes TRANSACT (batch submit) (JCL) submits batch active
User List CU00 COUSR00C COUSR00 yes USRSEC no admin active
User Add CU01 COUSR01C COUSR01 yes USRSEC yes admin active
User Update CU02 COUSR02C COUSR02 yes USRSEC yes admin active
User Delete CU03 COUSR03C COUSR03 yes USRSEC yes admin active

Batch programs (CBACT0*, CBTRN0*, CBSTM03*, CBCUS01C) are out of scope for online-transaction migration and are not streams here.

Blocked / dead

  • None detected among the online streams; all have present programs + maps + copybooks on main.

Recommended selection for this run

Bill Payment (CB00 / COBIL00C) — selected at STOP 1 (user delegated judgment).

Rationale:

  • Self-contained, small, high-value online write transaction (572 LOC, single program, single map). Ideal first 1/1-parity slice.
  • Touches exactly three data stores (ACCTDAT account, CXACAIX card-xref AIX, TRANSACT transaction) — all with simple copybook layouts, giving a clean DB2 schema.
  • Exercises the full online write path: validate → read → confirm → generate next key → insert transaction → decrement balance → rewrite account — a strong demonstration of behavioral parity including the money-movement invariant.
  • No dependency on other online programs' internals (only shares data files), so it migrates without pulling in the whole app.

Stream program set: COBIL00C (1 program). Maps: COBIL00. Copybooks: COBIL00 (map), CVACT01Y (account), CVACT03Y (card xref), CVTRA05Y (transaction), plus shared COCOM01Y, CSDAT01Y, CSMSG01Y, COTTL01Y.