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
det facade: handleTransaction answers raw EBCDIC bytes when a RETURN's COMMAREA LENGTH is past the DTO (#4679 follow-up) #4695
enhancementNew feature, sensor, or structural signatureera:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Follow-up to #4679 (PR #4694). A det port's RETURN TRANSID COMMAREA with a LENGTH past its DTO now passes the LENGTH bytes (DetCics.commareaOut, CCSID 037), as an XCTL has since #4501. CardDemo COCRDLIC / COCRDSLC / COCRDUPC / COACTVWC / COACTUPC RETURN WS-COMMAREA LENGTH 2000, so their generated facades' handleTransaction (task.returned(Object.class)) now answer a byte[], not the DTO. The equivalence java-facade side still passes (it compares the very object the task returned), but a deployed caller of that REST/Spring entry point gets opaque bytes.
CicsTask.returned(Class) refuses a byte[] for a DTO type (no layout conversion: the bytes are cp037, a DTO's fromCommarea reads the storage page). Decide: convert byte[] -> DTO through the region page for the facade's answer (keeping EIBCALEN/bytes for the next task), or document the byte[] answer.
This now blocks three CBSA screens from an equivalence case (#4270). Their det ports prove equal on every scenario, but the java-facade side refuses every task. CicsTask.returned(<the program's DTO>.class) gets the byte[] that DetCics.commareaOut passes for a RETURN whose LENGTH is past the DTO, and throws the task RETURNed a [B, not a ...Bnk1tfnWsCommarea (no layout converts one into the other). The DTOs have no fromCommarea, and BNK1UAC's carries a POINTER, which commarea_codec does not encode.
BNK1TFN: RETURN TRANSID('OTFN') COMMAREA(WS-COMMAREA) LENGTH(29) over a 28-byte record. 28 scenarios, det port equal on all 28.
BNK1CCS: RETURN TRANSID('OCCS') COMMAREA(WS-COMM-AREA) LENGTH(248) over a 5-byte record. Its create path also LINKs CRECUST, which does not translate (missing copybook CEEIGZCT).
The CardDemo facades in this issue answer Object.class, so they pass. These answer their DTO class, so they refuse. The case generators are kept in the handoff handoff-4270-cbsa-whole-cases.md.
enhancementNew feature, sensor, or structural signatureera:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
squid-protocol commentedon Oct 9, 2026
This now blocks three CBSA screens from an equivalence case (#4270). Their det ports prove equal on every scenario, but the java-facade side refuses every task.
CicsTask.returned(<the program's DTO>.class)gets thebyte[]thatDetCics.commareaOutpasses for a RETURN whose LENGTH is past the DTO, and throwsthe task RETURNed a [B, not a ...Bnk1tfnWsCommarea (no layout converts one into the other). The DTOs have nofromCommarea, and BNK1UAC's carries a POINTER, whichcommarea_codecdoes not encode.RETURN TRANSID('OTFN') COMMAREA(WS-COMMAREA) LENGTH(29)over a 28-byte record. 28 scenarios, det port equal on all 28.RETURN ... COMMAREA(WS-COMM-AREA) LENGTH(99)over its DTO (the trailing POINTER). Also blocked by det: a LINK writes the callee's DTO back over the caller's COMMAREA -- a numeric field holding spaces the callee never wrote comes back as digits (CBSA BNK1UAC -> INQACC) #4806.RETURN TRANSID('OCCS') COMMAREA(WS-COMM-AREA) LENGTH(248)over a 5-byte record. Its create path also LINKs CRECUST, which does not translate (missing copybook CEEIGZCT).The CardDemo facades in this issue answer
Object.class, so they pass. These answer their DTO class, so they refuse. The case generators are kept in the handoffhandoff-4270-cbsa-whole-cases.md.equivalence: cases for the CBSA programs made whole (Part of #4270) (#…
det: a RETURN / XCTL COMMAREA passes LENGTH bytes; the byte[] answer …
squid-protocol commentedon Oct 16, 2026
Siblings: #5291 (forge facades, XCTL without COMMAREA) left open by PR #5290.
det facade: an XCTL with no COMMAREA reads a wide answer through the …
det facade: handleTransaction answers its DTO when RETURN COMMAREA LE…