Sample COBOL application for JIRA AI Fixer testing
Go to file
startdata b4066be55c fix(SUPP-5): Fix balance truncation in AUTH module
Automatically generated fix by JIRA AI Fixer.
Confidence: 92%
2026-02-18 21:12:52 +00:00
src fix(SUPP-5): Fix balance truncation in AUTH module 2026-02-18 21:12:52 +00:00
README.md feat: Initial COBOL sample application 2026-02-18 15:29:32 -03:00

README.md

COBOL Sample Application

Sample mainframe application for testing JIRA AI Fixer.

Structure

src/
├── cobol/
│   ├── AUTH.CBL      - Transaction authorization
│   ├── VALIDATE.CBL  - Input validation
│   ├── CLEARING.CBL  - Settlement processing
│   └── HOST.CBL      - Host communication
├── copybooks/
│   └── TRANSREC.cpy  - Transaction record layout
└── jcl/
    ├── AUTHPROC.jcl  - Authorization job
    └── CLEARJOB.jcl  - Clearing batch job

Known Issues

For testing purposes, AUTH.CBL contains a deliberate bug:

  • WS-AVAILABLE-BALANCE is defined as PIC 9(9)V99
  • Should be PIC 9(11)V99 to match HOST response
  • Causes truncation on balances > $9,999,999.99