Remove GO TO statements
Remove GO TO statements enables you to learn how to remove GO TO statement in this topic.
Here are the following steps to remove GO TO statements:
- Open a COBOL file in the VS Code workspace that contains GO TO statements.
- Right-click the COBOL file, select watsonx Code Assistantâ„¢ for Z .
- A pop-up notification is displayed to remove GO TO statements.Note: You can cancel the Remove GO TO statements by clicking Cancel in the pop-up notification.
- Once the GO TO statements are removed, a backup copy of the original COBOL file with .bak extension is generated, then a new COBOL program is loaded in the editor