Repository navigation
MQ: MQOPEN / MQGET / MQPUT / MQPUT1 / MQCLOSE on both runtimes, CICS unit of work, CardDemo CODATE01 + COACCT01 proven (Part of #4892) - #5236
Conversation
…case (Part of #4892) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…EPLACING, sequence-area DFHRESP fix, tests (Part of #4892) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… of #4892) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s the category for mypy (Part of #4892) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st_det_programs: main's cached runtime compile) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ne cannot size (definitional, Part of #4892) The translator now expands the W1 stand-ins (CMQV/ODV/MDV/GMOV/PMOV/TML) in CardDemo COPAUA0C, COACCT01 and CODATE01, so their 3 CopyNotFound status rows no longer reproduce; the 380 offsets rows the engine cannot size (no CMQ* member in the estate) go under a new definitional cause, translator-uses-mq-stand-ins. The offsets agree with IBM's version-1 MQMD (324), MQOD (168) and MQTM (684). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rt of #4892) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
| from pathlib import Path | ||
| from typing import Any | ||
|
|
||
| from gitgalaxy.standards.mq import STAND_INS # noqa: F401 -- the harness stages these (equivalence_cics) |
🐦⬛ Muninn Security Scan
🔴 Critical Findings[gitleaks] Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.File: |
|
PR #5236 @ f65a4c6: 4 failed check(s) == full-suite (failure) -- real == full-suite part 3/3 (failure) -- real == ground-truth (failure) -- real == ground-truth part 1/2 (failure) -- real |
…avac UTF-8 in the MQ probe (Part of #4892) CI on #5236 failed three tests: the cobolrt rule catalogue listed no family for mq/QueueManager.java and cics/DetMq.java, TRANSLATOR_INPUTS lacked gitgalaxy/standards/mq.py, and test_det_mq's javac/java probe lacked the UTF-8 flags. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2db681e) is not the one a maintainer labelled |
|
No description provided. |
Part of #4892 (IBM MQ runtime), slice 1.
What changed
tests/equivalence/mq/ggmq.c, linked into the CICS stub. The port isdet/cobolrt/mq/QueueManager.java, plus the gluedet/cobolrt/cics/DetMq.java, which sits undercics/so a build without CicsTask skips it. Five verbs are modelled: MQOPEN, MQGET (destructive), MQPUT, MQPUT1 and MQCLOSE. The spec isgitgalaxy/standards/mq.py(parameters, refused verbs, structure lengths). The translator isdet/mq.py, wired intoGen.callwith one small block.det/dyncall.pyaccepts an MQI verb as a dynamic CALL target (one condition).uow_end(SYNCPOINT, ROLLBACK, abend backout) calls a weakggmq_uow_endbesideggsql_uow_end. CicsTask gainswithResource/resourceUowEndat the same 3 points astdUowEnd.ggcics_eventis exported for linked models.det/copy/CMQV, CMQODV, CMQMDV, CMQGMOV, CMQPMOV, CMQTMLare written from IBM's public documentation (version-1 layouts, IBM initial values). They ship only with the model behind them (owner policy 6) and are used only where the estate holds no member of that name.tests/tools/equivalence_mq.pyadds case section"mq"(queue manager, local queues, stated messages) and scenariomq_messages. A case can statestart_data, including a triggered transaction's MQTM. TheMQ-QUEUESevent compares the queues left at the task's end. Theequivalence_cics.pywiring is additive._numbered).carddemo-codate01(MQ date inquiry): 9 scenarios, 13/13 paragraphs.carddemo-coacct01(MQ account inquiry plus READ ACCTDAT): 10 scenarios, 13/13 paragraphs.CopyNotFoundstatus rows (COPAUA0C, COACCT01, CODATE01) no longer reproduce and were dropped. The 380 newoffsetsrows are the MQ groups. The translator now lays them out, and their offsets match IBM's MQMD (324 bytes), MQOD (168) and MQTM (684) field by field. The engine has noCMQ*member to read, so it cannot size them. Cause:translator-uses-mq-stand-ins, definitional. The now-unusedtranslator-refuses-vendor-copybookcause was dropped.fact_ownership.mdanddet_port_design.mdare updated to match._layout.json: both new parts kept after Q, IMS (I) then MQ (W).test_det_programs.py: took main's cached runtime compile; my side had only moved a# noqa.Class
The class is the IBM MQI called from a CICS COBOL program (
gitgalaxy/standards/mq.py).Sibling gaps
Register (
docs/language_status/register/, family W, part 16 after Db2)Gates (run after the main merge, on d5cc618 + ledger and docs commits)
EQUIVALENCE_E2E=1 pytest test_det_mq.py test_det_initialize_replacing.py test_det_programs.py -k "mq|INITREPL|initialize|replacing|CMPALL": 81 passed, 0 skipped.det_port.py checkvs origin/main: 98 ports CHANGED, each only byCicsTask.java(the same 32 lines:withResource/resourceUowEnd), no*Service.javamoved; 2 NEW (codate01, coacct01); 15 unchanged.Re-proof via heavy-run.sh, all PROVED:
pr_gates --fast: 6/6 pass (lint, audits, secrets, xray, gen-docs, gauntlet). Re-run after the ledger commit: 6/6.pr_gates --ratchets: 7 pass, 1 fail, 0 skipped. The failure was fact-crosscheck (the MQ stand-ins, above). Afterfact_crosscheck.py update+assign: fact-crosscheck PASS. The others passed: cics-spec, ports, port-surface, estate, completeness, ground-truth, time.Lessons for agents
pr_gates --ratchetsfact-crosscheck prints only the first 20 NEW rows. To see the whole set, runfact_crosscheck.py check --json FILEand diff itsdisagreementsids against the ledger's keys before assigning a cause.🤖 Generated with Claude Code