NB-076 4d752305e1 S11: COBOL->Java migration risk test — 14 risk areas, 30 real COBOL compiles
Covers each risk with actual GnuCOBOL compilation + output capture:
1. COMP-3 precision: S9(7)V99 value display verified
2. EBCDIC->ASCII: 0xC1C2C3 -> 'ABC', SJIS round-trip
3. Numeric edited PIC: ZZ,ZZZ.99 -> 12,345.67
4. 88-level: APPROVED/REJECTED condition branching
5. REDEFINES: shared storage mutation detection
6. PERFORM THRU: A THRU C sum=1+2+3=6
7. GO TO DEPENDING: IDX=2 -> 'TWO'
8. OCCURS DEPENDING: 1+2+3=6
9. SORT: COBOL SORT compiled and run
10. STRING/UNSTRING: ABC|DEF concat + split by delimiter
11. FILE STATUS: parse_file_control captures IS clause
12. SYSIN: keyword detection
13. CICS: DFHCOMMAREA keyword detection
14. ACCEPT DATE/TIME/DAY: format length verified

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-22 10:31:53 +08:00
2026-05-24 12:36:44 +08:00
2026-05-24 12:36:44 +08:00
2026-05-24 12:36:44 +08:00
2026-05-24 12:36:44 +08:00
S
Description
No description provided
1.6 MiB
Languages
Python 95.5%
HTML 2%
CSS 1.8%
JavaScript 0.5%
COBOL 0.2%