Repository navigation
IDCAMS model: DEFINE CLUSTER DATA/INDEX takes CISZ, so CardDemo's DELDEF01 deck runs (Part of #8886) - #9131
Conversation
…ALSIZE/CISZ, so CardDemo's DELDEF01 deck runs (Part of #8886) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #9131 @ b62eef3: 2 failed check(s) == ground-truth (failure) -- real == ground-truth part 1/2 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (82d928e) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #8886 (#8878, #4891). Slice 3 of the forged-job comparison: the IDCAMS oracle model now takes CardDemo's own DELDEF01 deck.
What changed
#9121 ran CardDemo's forged Spring jobs and found CREASTMT's first step,
DELDEF01(IDCAMS:DELETE,DELETE ... CLUSTER,SET MAXCC = 0,DEFINE CLUSTERwithDATA (NAME CISZ)andINDEX (NAME)), refused. Before any forge can lower that step, the IDCAMS model (det/idcams_model.pyand its Java twincobolrt/job/Idcams.java) has to run the deck, and it refusedDATA(NAME(..) CISZ(4096))("only NAME(one name) is modelled").DEFINE CLUSTER | ALTERNATEINDEXDATA / INDEX component:CONTROLINTERVALSIZE(n)/CISZ(n)(one number) is accepted besideNAME(...). It sizes the control interval: no effect on records or the catalog (SC23-6846-60, DEFINE CLUSTER, DATA / INDEX parameters). The same in Python and Java.KEYS(...)stays refused: IBM takes it as the cluster's, GenApp relies on that).test_equivalence_idcams_java_8881.py): CardDemo's DELDEF01 deck run through the model and the Java side agrees (RC 0; the catalog holds the 350-byte KSDS keyed 32/0, empty), plus four refusals that read the same on both sides.Evidence level: executed-equivalent between the model and its Java twin, on the real CardDemo deck. The oracle is the model, not z/OS.
Checklist: partial [c:1b7f6936] -- DELDEF01 now runs in the model and the Java side; the forge still routes any multi-command IDCAMS step to
steps.utility(fails the job as shipped), so CREASTMT STEP010..STEP040 still differ; the five utility-only jobs are still unforged.Checklist: partial [c:101680f3] -- the harness runs the generated jobs (#9121) but program steps still call a stub returning the chain's RC, not the proven ports; no job-final-dataset comparison yet.
Class / Sibling gaps
Class: an IDCAMS / utility step of a CardDemo nightly job that the forged Spring job does not run as the COBOL chain does. Members (burned estate: CardDemo,
app/jcl):REPRO INFILE OUTFILEinto the VSAM KSDS DELDEF01 defines): the forge lowers it as a file copy; it needs the catalog DELDEF01 builds and STEP010's SORTOUT (Sibling gap 1).Sibling gaps (none done here: each needs a forge change and a golden / forge-fixture check, over the 5-file cap with this one):
Idcams.run(catalog kept in the job's ExecutionContext, DDs asSequential/Vsam) instead ofsteps.utilitywhenidcams_modelaccepts the deck:cobol_to_java_batch_forge.py(_idcams_refusal, theIDCAMSemit),JclSteps, the harness. Needs: CREASTMT DELDEF01 + STEP020.equivalence_forged_spring.py. Needs: CREASTMT STEP010.cobol_to_java_batch_forge.py. Needs: TRANBKP, COMBTRAN, TRANIDX.equivalence_forged_spring.py. Needs: POSTTRAN, INTCALC, CREASTMT STEP040.Remaining slices
Sibling gaps 1 to 4 above, in that order (1 and 2 close CREASTMT; 3 and 4 close the rest and the final-dataset comparison).
Gates
pr_gates --fastvia heavy-run.sh: lint, audits, secrets, xray, gen-docs, workflows, gauntlet pass;derivedfailed on a staledocs_read_by_tests.txt(left by rebless_batch.py: one command to fold PRs that carry golden snapshots into one rebless PR #9120), regenerated withchange_classifier.py --write(generated file, in this PR).tests/cobol_mainframe/test_evidence.py(Idcams.javais part of the det runtime): 58 passed. Its warning lists records stale on harness / generator, re-proven by the scheduled job; none is stale on the runtime.Lessons for agents
idcams_model.pyandcobolrt/job/Idcams.javaare twins: change both and add the deck totest_equivalence_idcams_java_8881.py, whoseeij.comparereports any difference.🤖 Generated with Claude Code