We moved to a new machine with V7R3M0.
One of our programs has this line of code:
IF (WS-P45-ADMIT-DATE-YY-NUM + 1) NOT = WS-P45-DISCHARGE-DATE-YY-NUM
It compiles under V7R2M0 & V7R1M0,
But v7R3M0 throws:
4662 MSGID: LNC2714 SEVERITY: 30 NUMBER:
Message . . . . : 'WS-P45-DISCHARGE-DATE-YY-NUM' cannot be compared to an arithmetic expression. Statement ignored.
Compiler: 5770WDS V7R3M0 160422 LN IBM ILE COBOL
Besides fixing the code Does anyone know a way to get around this
Thanks
One of our programs has this line of code:
IF (WS-P45-ADMIT-DATE-YY-NUM + 1) NOT = WS-P45-DISCHARGE-DATE-YY-NUM
It compiles under V7R2M0 & V7R1M0,
But v7R3M0 throws:
4662 MSGID: LNC2714 SEVERITY: 30 NUMBER:
Message . . . . : 'WS-P45-DISCHARGE-DATE-YY-NUM' cannot be compared to an arithmetic expression. Statement ignored.
Compiler: 5770WDS V7R3M0 160422 LN IBM ILE COBOL
Besides fixing the code Does anyone know a way to get around this

Thanks
Comment