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
Option table for compiler options not yet modelled (ZONEDATA/INVDATA, CODEPAGE, SSRANGE/NUMCHECK, OPTIMIZE, TRUNC(OPT), ARITH(EXTEND)...) (#4704) #4706
Follow-up to #4704 (slice 1 landed the estate options file, the one resolver and the evidence fingerprint). Policy: #4702 ("IBM is the reference; GnuCOBOL is the instrument").
Slice 1 models only INTDATE, TRUNC, ARITH, NUMPROC (the options equivalence_common already honoured). This issue is the option table for the rest: one row per option, in oracle_assumptions.md or a new compile_options.md.
For each option answer: (1) does it change results; (2) can cobc honour it (flag, config or wrapper); (3) what does the det port do; (4) otherwise it is refused by name or a declared difference (#4702).
Found by slice 1 (needs a decision here): CBSA's build PARM (etc/install/base/buildjcl/CICS.jcl:7) is TRUNC(OPT); GnuCOBOL has no TRUNC(OPT), so CBSA programs without their own TRUNC(STD) card (CUSTCTRL, DELACC, INQACC among the cases) are proven under TRUNC(STD) as a declared difference (applied_value in tests/equivalence/estate_options/cics-banking-sample-application-cbsa.json; EffectiveOptions.deviations()). Decide: model TRUNC(OPT) (what does IBM define for out-of-range binary under OPT? "undefined"), or keep refusing, and show the difference in the evidence report.
Acceptance: every option above is modelled, honoured by cobc, refused by name, or a declared difference, and the estate files' installation defaults / PARM values for it stop being merely recorded.
PR #5088 (merged) adds the option table (register C5, compiler_options.OPTION_TABLE): ZONEDATA/INVDATA/NSYMBOL(DBCS)/DISPSIGN(SEP)/FLOAT(NATIVE) refused by name; SSRANGE/NUMCHECK/CODEPAGE-mismatch declared; OPTIMIZE/AFP/INITCHECK recorded with no effect. Leaving this open: PR #5088 took four provisional choices that need an owner decision (SSRANGE/NUMCHECK/CODEPAGE declared vs refused; INVDATA refused wholesale; CODEPAGE 1140/37 honoured; FLOAT default HEX), and the TRUNC(OPT) decision asked for in this issue (model vs keep as a declared difference) is still open. ARITH(EXTEND)/INTDATE(LILIAN) remain refused via COBC_OPTIONS.
Activity
evidence: re-prove CBSA INQACC / UPDACC under the honoured TRUNC(OPT)…
det: TRUNC(OPT) as IBM defines it -- STD for conforming binary values…
det: a typed binary item stores what its bytes would under TRUNC(STD)…
options: sort imports (Part of #4706)
options: compiler option table -- result-changing options refused by …
squid-protocol commentedon Oct 14, 2026
PR #5088 (merged) adds the option table (register C5,
compiler_options.OPTION_TABLE): ZONEDATA/INVDATA/NSYMBOL(DBCS)/DISPSIGN(SEP)/FLOAT(NATIVE) refused by name; SSRANGE/NUMCHECK/CODEPAGE-mismatch declared; OPTIMIZE/AFP/INITCHECK recorded with no effect. Leaving this open: PR #5088 took four provisional choices that need an owner decision (SSRANGE/NUMCHECK/CODEPAGE declared vs refused; INVDATA refused wholesale; CODEPAGE 1140/37 honoured; FLOAT default HEX), and the TRUNC(OPT) decision asked for in this issue (model vs keep as a declared difference) is still open. ARITH(EXTEND)/INTDATE(LILIAN) remain refused via COBC_OPTIONS.crucible: PCIMM* overlay gets the ARITH(EXTEND) stop; re-prove the PC…
proof_reach: PCIMM* ports re-proved, so their mutation runs are stale…
det: ARITH(EXTEND) modelled -- an intermediate past 30 digits stops b…
det: INTDATE(LILIAN) modelled in the det port -- integer-date functio…
options: the OPTIMIZE row states the C14 zero-divisor stance (Part of #…