Repository navigation
Forge JclConditions reads COND=ONLY, stepname.RUN and ABENDCC=code: 10 of #8821's 28 step differences closed (Part of #8886) - #9190
Merged
Conversation
…he model and the Java twin (Part of #8886) Still refused: IBM keeps the first pointer and states no condition code (register F4). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…0 of #8821's 28 step differences closed (Part of #8886) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
Contributor
2 of 3 tasks
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 #8886.
Stacked on #9185 (the branch carries its one commit; it only touches the IDCAMS files, so the two are independent).
What
#8821 ran the level fixture's 42 IBM-written answers through what
BatchForgegenerates: 21 scenarios agreed, 21 differed on 28 steps. The forge'sJclConditionsJava now reads three shapes it ignored:COND=ONLY(or(test,ONLY)): a Spring Batch job ends at an abend, so no step runs after one and an ONLY step always bypasses (4 steps).stepname.RUN, with or without= TRUE|FALSE: true when the step ran (recorded a return code); the= valueis read and dropped (4 steps,.RUN = FALSEandNOT .RUNno longer inverted).stepname.ABENDCC = codeandABEND = TRUE: false (no abended step continues the job); the operator and operand are read, so the rest of the expression parses (2 steps).Result: 11 of 42 scenarios differ on 18 steps (was 21 on 28).
KNOWN_DIFFERENCESkeeps only the abend flush (an abend ends the job, so the steps IBM runs after one never start: a design limit of the Spring Batch tasklet, stated in the forge). The test still fails on a new difference and on a listed one that stops reproducing; nothing is loosened.Class / Sibling gaps
Class: the forged job's JCL step-flow behaviour against IBM-written answers, per fixture. Members:
COND=ONLY/.RUN/.ABENDCC=(closed here); CardDemo 34 EXEC COND answers (#8808: all agree); the abend flush, 18 steps in 11 scenarios (EVEN / ONLY / IF ABEND / ABENDCC after an abend): not closable by a parser fix, needs the job to survive an abend (a different mechanism: a step that records an abend and lets the launcher continue), listed inKNOWN_DIFFERENCES.stepname.ABENDCC = codewith an actual abend is the same flush. Not run (still siblings from #8821): ifelse 18 answers, proc 221 resolve answers, dataflow, gdg, restart.Tests
tests/cobol_mainframe/test_jcl_forged_job_fixture.py(the 42-answer comparison, JDK needed): list shrunk, count pinned (42, 11, 18). Also passing:test_jcl_forged_job_carddemo.py,test_batch_jobs.py,test_forged_job_nightly_8886.py(16 passed). Gates: see below.Remaining slices
Checklist: partial [c:1b7f6936] -- the 10 parser-fixable differences are closed; the 18 abend-flush steps remain (the job must survive an abend)
Lessons for agents
None new.
🤖 Generated with Claude Code