As we know Cobol has max support for numbers up to 18 digits. This can be extended to 31 digits with ARITH(EXTEND).
If I try to declare variable with 23 digits 01 NUM31 PIC 9(23).
I am getting error: COBCH0213S Item is longer than USAGE allows or contains too many numeric positions : C:\fileSample.CBL(56,26)
I had tried to add a command from the link at top of the file ARITH(EXTEND) but without results - getting error: COBCH0143S Unknown IDENTIFICATION DIVISION paragraph
I am using Microfocus Net Express 4.0 as a development IDE.