I'm in the process of converting some old OS VS COBOL programs to Enterprise COBOL and I found the below 'GO TO' statement without a procedure name following it.
Can someone please let me know where the control passed when the below GO TO is executed ?
I also found some ALTER statements when I looked for 060-BRANCH-STATEMENT.
IF XXX-XXXX1 EQUAL TO '1' OR
XXX-XXXX2 EQUAL TO '1'
ALTER 090-BRANCH-STATEMENT TO 645-CHECK-XXXX-XXXXX
GO TO 1700-CHECK-FOR-XXX-XXXXX.
I was able to get some resources online about the ALTER statement but I'm still not very clear about it.
Can someone please help me understand the above statements?