Repository navigation
IDCAMS step in Java: cobolrt/job/Idcams.java agrees with the model (Part of #8881) - #8966
Conversation
… authored decks (Part of #8881) Java port of det/idcams_model.py (REPRO, DELETE, DEFINE CLUSTER / ALTERNATEINDEX / PATH, BLDINDEX, SET MAXCC, IF, same refusal text), kept out of generated ports (runtime_files skips job/). test_idcams_java_8881.py runs 53 scenarios through both and compares byte for byte. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8966 @ 7757667: 1 failed check(s) == full-suite part 1/4 (failure) -- real |
|
No description provided. |
Summary
Part of #8881. Java runtime for the IDCAMS step:
cobolrt/job/Idcams.javais a second implementation ofdet/idcams_model.py(REPRO, DELETE, DEFINE CLUSTER / ALTERNATEINDEX / PATH, BLDINDEX, SET MAXCC, IF; same refusals by name, citing SC23-6846-60). #8880's Java item was a prerequisite and did not exist, so this ports the whole model.job/is skipped byprogram.runtime_files, so no generated port gains a file.tests/cobol_mainframe/test_idcams_java_8881.pyruns 53 scenarios (the 8880/8881 decks, a job of three steps on KSDS and ESDS bases, IF/ELSE/DO, ~35 refusals) through the model and the javac'd Java in one JVM and compares return codes, log, catalog, datasets, path records and refusal text byte for byte. A reversed sort in the Java made 5 scenarios fail, so the comparison can fail.F6.mdupdated;cobolrt_api.jsonregenerated;cobolrt_rules.jsongains family IDC (six rules, markers, theidcamsdocument SC23-6846-60).pr_gates --fast9/9.Class: IDCAMS commands in a job case. Checklist: partial [c:7865474a] -- job harness wiring (#8880 item 3)
Sibling gaps
Remaining slices
Job harness wiring (#8880 item 3); an end-to-end TRANIDX job case.
Lessons for agents
.javaundercobolrt/ships in every generated port (runtime_filesdoesrglob) and moves the cobolrt API manifest: put a harness-only file in a skipped directory and runtests/tools/cobolrt_api.py generate.¬escape into a literal non-ASCII character: grep new Java for non-ASCII before committing.🤖 Generated with Claude Code