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
Equivalence harness: CICS online programs (EXEC CICS stub runtime on the COBOL side) #3754
era:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Problem. The harness runs batch programs natively under GnuCOBOL. CICS online programs can't run there as-is: EXEC CICS needs a translator and a runtime. Most of CBSA and CardDemo's online half are CICS, so equivalence for them is unproven.
Needs:
COBOL side.
Translate EXEC CICS into CALLs to a stub runtime, a small GnuCOBOL library. It serves recorded inputs: the COMMAREA / channel on entry, RECEIVE MAP fields, READ / READNEXT from files loaded like the batch harness's KSDSs, TS / TD queue contents, and LINK / XCTL targets (stubbed or chained).
It records every output: the COMMAREA on RETURN, SEND MAP fields, WRITE / REWRITE / DELETE, queue writes, LINK / XCTL / RETURN TRANSID.
The engine already knows each program's CICS surface, so the stub can be generated per program.
Diff. The harness's field-by-field comparison, applied to the COMMAREA, map fields, file state and queue writes.
First case: one CardDemo online transaction end to end (BMS → COMMAREA → program → VSAM), e.g. account view (COACTVWC), then a CBSA inquiry.
Done when: one CICS transaction runs as COBOL (with the stub runtime) and as the generated Java plus a port, and the report shows every output compared. The stub runtime is generated from the program's CICS facts, not hand-written per program.
era:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
CICS online programs in the equivalence harness; CardDemo account vie…