Skip to content

CICS coverage: HLASM EXEC CICS (command-level Assembler) #3495

Closed

Description

@squid-protocol

Problem

Assembler application modules and exits that use command-level EXEC CICS contribute no CICS facts today: no call sites, resources, task control or UOW. (The hlasm boundary dialect currently carries only IMS PSB / DBD.)

Proposal

Run the existing CICS command walkers (cics_resources, cics_tasks, uow_handlers, call sites) over hlasm, using assembler continuation (column 72 and resume at column 16, as in core/ims_gen.py) and DC / EQU for operand VALUE resolution. Measure first: count EXEC CICS in the pinned and crucible assembler corpora.

Acceptance (ground truth, as for every channel since #3210)

  • An independent draft reader in tests/tools/cobol_answer_key.py, which must not import the engine.
  • A new or extended answer-key section, drafted for every pinned corpus that has the construct.
  • A blind census, with every disagreement ruled against the source.
  • A scored field in tests/tools/ground_truth_ledger.py.
  • The channel follows gitgalaxy/core/how_to_add_a_fact_channel.md.

Part of #3489.

🤖 Generated with Claude Code

Activity

  1. squid-protocol commented on Sep 24, 2026

    @squid-protocol
    OwnerAuthor

    Measured 2026-09-24: 0 assembler sources with EXEC CICS in any corpus on hand. That covers the 4 pinned corpora, language-crucible, and the ~/gitgalaxy-data pool (.asm, .hlasm, .mac, .assemble). There is nothing to build or ground-truth against, so this is parked until a public assembler CICS corpus turns up. The column-72 continuation reader it would need already exists in core/ims_gen.py (#3477).

  2. squid-protocol commented on Sep 24, 2026

    @squid-protocol
    OwnerAuthor

    Unblocked: crucible v1.5.0 (language-crucible#33) adds data/hlasm/zecs — two production command-level EXEC CICS HLASM programs from walmartlabs/zECS (Apache-2.0). The full clone is in the pool at /nvme-data/gitgalaxy-data/zECS.

    First finding: both programs produce 0 function units. Their entry point is ZECS002 DFHEIENT CODEREG=(R12),DATAREG=R10,EIBREG=R11. The CICS translator's DFHEIENT macro generates the CSECT, so the engine never sees a CSECT and the program has no unit (only its two DSECTs, DFHEISTG/DFHCA, are found as classes). NAME DFHEIENT should count as a program entry, alongside CSECT/RSECT/START.

  3. added
    scope:frontier
    era:1
    on Oct 16, 2026
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

    era:1scope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions