Repository navigation
CICS coverage: data-driven LINK / XCTL / CALL targets + navigation (#3493) - #3507
Merged
Merged
Conversation
…3493) Pseudo-conversational navigation is usually data-driven -- XCTL PROGRAM(CDEMO-MENU-OPT-PGMNAME(WS-OPTION)) over a menu table, or a COMMAREA routing field set by MOVEs -- so the application's navigation graph was missing: CardDemo had 29 dynamic targets with no candidates. GalaxyIR.dynamic_call_targets lists every data-name LINK / XCTL / CALL site with the programs it can name: its VALUE (an includer's for a procedure copybook), each occurrence of an OCCURS table that REDEFINES a VALUE-filled group, and every literal or VALUE-holding item MOVEd into it; sources with no known content (CDEMO-FROM-PROGRAM: "back to the caller") are named in other_sources. GalaxyIR.navigation is the CICS program-to-program flow (static, transaction, value, table, moves), and completeness counts a data-name site resolved when a candidate is here: CardDemo program calls 35/82 -> 63/82 (all 29 dynamic sites answered). Answer key: independent reader (add-dynamic-targets), scored field "dynamic call targets" (CardDemo 89/89, CBSA 124/124, zOpenEditor 3/3). Blind census (new `dynamic` suite, full): 7 batches, 216/216 facts, 0 disagreements -> cross_verified. Golden masters unchanged. Closes #3493 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Contributor
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 epic #3489.
Problem
Pseudo-conversational navigation is usually data-driven. For example,
XCTL PROGRAM(CDEMO-MENU-OPT-PGMNAME(WS-OPTION))indexes a menu table, andXCTL PROGRAM(CDEMO-TO-PROGRAM)reads a COMMAREA routing field that MOVEs set. So the application's navigation graph was missing: CardDemo's 29 data-name targets had no candidates at all.What it does
GalaxyIR.dynamic_call_targets(): every LINK / XCTL / CALL whose program operand is a data name, with the programs it can name. Each candidate records its source (via):value: the item's VALUE, taken from the including program when the site sits in a procedure copybook (including anEXEC SQL INCLUDE);table: each occurrence of an OCCURS table that REDEFINES a VALUE-filled FILLER group. CardDemo's main menu gives 11 programs and its admin menu 6; blank slots are dropped.moves: every literal, or VALUE-holding item, MOVEd into the operand. Sources with no known content, such asCDEMO-FROM-PROGRAM("back to the caller"), are named inother_sources.GalaxyIR.navigation(): the CICS program-to-program flow, one edge per LINK / XCTL / TRANSID route. Each edge'sviais static, transaction, value, table or moves.Ground truth
add-dynamic-targets) feeds the scored field "dynamic call targets": CardDemo 89/89, CBSA 124/124, zOpenEditor 3/3.dynamicsuite, asked of every program with a LINK / XCTL / CALL, so recall is checked too.cross_verified.Checks
Closes #3493
🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g