Repository navigation
Job harness: a job may declare IBM ends it at a DFSORT step (ICE043A), first slice of the CREASTMT job case (Part of #8884) - #9041
Merged
Conversation
…; CREASTMT job case (Part of #8884) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s sibling DFSORT ports (Part of #8884) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
Waiting on an owner decision (asked privately, 2026-11-22). Nothing is needed from contributors; work resumes once it is answered. |
…ove to the next slice (Part of #8884) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
3 tasks done
Contributor
|
PR #9041 @ 679102e: 1 failed check(s) == db2 (failure) -- real |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8884 (Part of #8878). First slice, cut to the 5-file cap. Supersedes the stale draft #8978 (its test file conflicted and its OUTREC join was refused by #9035).
What this does
CardDemo CREASTMT is
STEP010 SORT->STEP020 IDCAMS->STEP030 CBSTM03A(CALLs CBSTM03B). IBM ends that job at STEP010: DFSORT reports ICE043A reason code 9 (SC23-6879) because the fixed SORTOUT LRECL (350) is longer than the OUTREC it is given (328), andCOND=(0,NE)bypasses every later step. #9035 made the harness refuse that join by name. This PR lets a job case declare the outcome and prove what IBM actually runs, instead of padding the record (a job IBM never runs) or refusing the case.tests/tools/equivalence_job.py: new job-level keyibm_stops={"step": <case>, "reason": "ICE043A"}.check_jobaccepts the short DFSORT join only when declared AND backed by a real short join from aDFSORTSTwriter; an undeclared join is still refused with the citation; a declaration no join backs, an unknown step or reason, or one on the last step is refused.run_caseproves the steps up to the stop, reportsibm_stopwith the steps not reached, andprovencovers only the steps run.tests/cobol_mainframe/test_job_case_4268.py: 2 new tests on stub cases (declared stop accepted and named; undeclared still refused with the citation; five ways a declaration is refused).docs/language_status/register/F4.md: the ICE043A bullet describesibm_stops.No committed job case declares it yet, so no det case is added: this slice moves no golden, no det-sweep duration and no evidence record.
Evidence
Checked by the stub-case tests only (
test_job_case_4268.py: 14 pass). The real run of the full case (STEP010 compared COBOL vs the Java det port, SORTOUT 100/100; "proven over 1 of 3 steps") was done on this branch's earlier head and is not part of this slice's evidence. The oracle is GnuCOBOL plus our stub, not z/OS.Gates
pr_gates --fastre-run on this head (result in the report);test_evidence.py,test_det_sweep_fast.py,test_ci_shard_plan.pypass (194 passed with the job tests).audit_check.pypreviously failed only onast-accuracy(this box's venv has no PyYAML), unrelated.Class / Sibling gaps
Class: a job case whose chain IBM ends partway (a DFSORT step terminated by ICE043A), so only the run prefix can be compared. Siblings, not done here: (1) the CREASTMT job case itself; (2) a padded-OUTREC authored variant that runs the whole SORT -> IDCAMS -> CBSTM03A chain (a new det case, labelled authored); (3) a Java-side IDCAMS comparison inside the job (model-only oracle today); (4) the IEFBR14 STEP030 step; (5) DELDEF01 catalog state between steps.
Remaining slices
File-cap exceptionnot requested; it is the next PR):tests/equivalence/carddemo-sort-creastmt/(case, DFSORTST.cbl, LICENSE, NOTICE, sortin, committed det portport/service+provenance.jsonfromdet_port.py run,evidence.jsonfromevidence.py prove),det_sweep_coverage/carddemo-sort-creastmt.json,jobs/carddemo-job-creastmt.json+creastmt-step020.idc, aMUTATION_PENDINGrow intest_evidence.py, and the creastmt tests. Built and proven on this branch's earlier commits (7675db7, 8307e4c, 6 evidence/mutation commit after them; see the branch history before the "Cut to the harness slice" commit). Expecttest_det_sweep_fast/test_ci_shard_planred until the nightly records its duration (49/195 unmeasured, over 25%).Checklist: the queue's
[c:...]ids were not in my brief; items 1 and 2 landed earlier (#8951, #8971/#8976, #9011) and item 3 is slice 1 of 2 here, so the orchestrator should set the line.Lessons for agents
port/service+provenance.json(det_port.py run CASE), else the job's Java build fails "cannot find symbol DfsortstService"; the new port also needsevidence.jsonand aMUTATION_PENDINGrow._sort_job) carry it.churn selfcheckhung with no output on this box (three runs); the body sections were checked by hand.Cross-repo: none.
🤖 Generated with Claude Code