100% Offline Reference
EBCDIC & Overpunch
IBM037 vs. IBM1047 EBCDIC Codepages & Signed Zoned Decimal Overpunch
When a COBOL numeric field omits COMP-3 and SIGN IS SEPARATE (PIC S9(5)V99 DISPLAY), the algebraic sign is punched into the upper 4-bit zone nibble of the final byte, rendering 125.0} or 125.0{ in naive string decoders.
EBCDIC Signed Zoned Decimal Trailing Byte Lookup Table
| Final Digit | Unsigned (`0xF0..0xF9`) | Positive Overpunch (`0xC0..0xC9`) | Negative Overpunch (`0xD0..0xD9`) |
|---|---|---|---|
0 | 0xF0 (`0`) | 0xC0 ({ in IBM037) | 0xD0 (} in IBM037) |
1 .. 9 | 0xF1..0xF9 (`1..9`) | 0xC1..0xC9 (A .. I) | 0xD1..0xD9 (J .. R) |
IBM037 vs. IBM1047 vs. IBM01140 Selection Guide
IBM037: US / Canada z/OS MVS batch, CICS, DB2, and US banking/card-network interchange standard.IBM1047: z/OS UNIX System Services (`USS`) and C compiler codepage (swaps `^`, `[`, `]`, `~` code points relative to `IBM037`).IBM01140: Identical to `IBM037` except `0x9F` maps to the Euro currency sign (`EUR`) instead of the international currency symbol.

Frequently Asked Engineering Questions
What does '000452N' mean in a COBOL PIC S9(5)V99 field?
In IBM037 EBCDIC, 'N' is hex 0xD5: zone 0xD (negative) + digit 5, so '000452N' with V99 scale decodes to exact BigDecimal -45.25.
Inspect, Decode, Diff & PCI-Scrub Mainframe Dumps Offline in Your JetBrains IDE
Never upload regulated banking, card-network, or insurance .ebcdic extracts or proprietary .cpy schemas into browser hex viewers. EbcdicPrism Copybook Viewer runs 100% air-gapped inside IntelliJ IDEA, DataGrip, PyCharm, Rider, GoLand, and WebStorm with a forever-free core tier and a 14-day [Pro] trial.