Skip to content

Job cases carry VSAM datasets between steps: prove CardDemo POSTTRAN -> INTCALC as one chain #8879

Closed

Description

@squid-protocol

Part of #8878 (Graveyard Shift 1). Program: CardDemo CBTRN02C (POSTTRAN STEP15) then CBACT04C (INTCALC STEP15), the first two jobs of CardDemo's nightly batch (its README's job table).

Why

Both programs prove as single steps today (carddemo-posttran, carddemo-intcalc and their -generated variants; the det sweep baseline is empty). What has not been proven is the hand-off: CardDemo's interest run reads the account and category-balance files the posting run just updated. The job harness (tests/tools/equivalence_job.py, #4268) refuses that today: "an indexed (VSAM) fed dataset" is refused by name, so the one job case is TRANREPT (sequential feeds only).

The data flow to carry

dataset POSTTRAN (CBTRN02C) INTCALC (CBACT04C)
ACCTFILE (KSDS, 300) read and REWRITTEN (compared) read and REWRITTEN (compared)
TCATBALF (KSDS, 50) read, written / rewritten (compared) read
XREFFILE (KSDS, 50) read read
TRANFILE (KSDS, 350) written (compared) not used (INTCALC writes its own TRANSACT, sequential)
DISCGRP (KSDS, 50) not used read

A chained run gives INTCALC the ACCTFILE and TCATBALF that POSTTRAN left, not the step case's own @case/ copies.

Checklist

Notes

  • The oracle is GnuCOBOL with BDB indexed files, not z/OS VSAM. The JCL wiring is the job case's feeds, not a read job (register F4); reading it from the JCL is Graveyard Shift 3.
  • Expected size: 1-2 PRs (harness + case). Stay within the 5-file cap per PR.

Activity

  1. added
    tier:score
    scope:core
    on Nov 21, 2026
  2. squid-protocol commented on Nov 21, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-22T01:21Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  3. squid-protocol commented on Nov 21, 2026

    @squid-protocol
    OwnerAuthor

    Added by decision #8888 (S ladder): no CI job proves a job case today. The det sweep runs step cases only, and equivalence.py refuses --record for a job case, so a proven chain still counts S2 = 0 on the progress slide (#8891). Add to this issue's checklist: have CI prove the job case and record the chain proof where progress_report.system_ladder can read it (its proven list). Then POSTTRAN -> INTCALC is the first job the S bar counts.

  4. squid-protocol commented on Nov 21, 2026

    @squid-protocol
    OwnerAuthor

    #8917 merged: a partial slice of [c:91b8f91e] "Proven locally and in the det sweep; result in the PR body (records equal per compared output of each step)."; left: the real GnuCOBOL + port proof (equivalence.py run carddemo-job-posttran-intcalc) and the det sweep have NOT run: the box's single heavy slot was held for 1h40m+ by another worker's mvs38j/sysgen.py serve (churn-8414 worktree), so heavy-run.sh never started. Re-run it, then paste "records equa (promoter-bot)

  5. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met: harness feeds indexed datasets (#8917), job case carddemo-job-posttran-intcalc exists, refusals pinned, and the proof is recorded in register F4 (#8954): proven over 2 steps, records equal per compared output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:nyxscope:coretier:score

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions