Problem:
Release 4.0:
The following COBOL code gets compiled without any ERROR
- PERFORM PERFORM Paragraph-Name
- IF Field NOT = TO SPACE
The compiled code runs without any error and there is currently not really a issue with the execution. However, the customer is developing for the Mainframe (Bull GCOS7) and when the coding is brought back to the Mainframe the compiler does not allow to compile the above lines as they are not valid COBOL code.
Can this be addressed in a future fixpack ?
Resolution:
No, it seems there are bugs while compiling this under Net Express 4.0, but
1) nested PERFORMs are allowed.
2)" = TO" is a peculiarity of the OSVS mainframe, so Micro Focus allow it too.
Look up 'Relation Condition' in the Net Express COBOL language documentation:
>
OSVS: Note that " = TO", "> THAN" and "< THAN" are accepted.
<