The following restrictions apply to the code analysis functionality:
if 0 equals 1
display "Unreachable code"
else
display "World"
end-if
Conditional compilation is not supported.
The following functionality is not supported:
Nested programs are not supported.
ENTRY statements defined through variables are not supported, and the ENTRY's statements will be marked as dead even if they can be called.
working-storage section.
78 entry-name value "my-entry-name".
procedure division.
entry entry-name
display "this is my-entry-name"
goback
.
In the example above, the DISPLAY statement will be marked as dead even if it can be called.
The following Microsoft's Visual Studio analysis commands are not supported for Enterprise Developer projects:
Local variable declarations are not supported.
The .NET COBOL syntax is not supported.
The following functionality is not supported:
Only the COBOL language is supported.