Files
cobol-java-v3/benchmark-programs/cross-cutting/exclusion/README.md
T
NB-076 94400d50d4 feat: add benchmark-programs — 58 telecom COBOL test programs
作为子目录纳入系统,与核心测试管道协同

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 09:53:21 +08:00

662 B

Exclusion/Conflict Simulation

Test Cases

Test ID Description
EX-N001 Simulate concurrent READ scenario
EX-A001 Simulate WRITE conflict (STATUS 48 check)
EX-A002 OPEN mode violation (STATUS 37 for nonexistent file)
EX-A003 Re-OPEN when already OPEN (STATUS 41)

Features Covered

  • FILE STATUS checking for conflict detection
  • WRITE on INPUT-only file (STATUS 48 behavior)
  • OPEN non-existent file (STATUS 35/37)
  • Re-OPEN without CLOSE (STATUS 41)
  • Sequential file access mode enforcement

Expected Results

All 4 tests should display PASS. File status codes should be detected appropriately.