Creating a program from a section or paragraph (COBOL)

To create a new program with the contents of a section or paragraph from another program without modifying the original program:

  1. In the COBOL editor, place the cursor on a paragraph or section.
  2. Right-click in the editor and then click COBOL Refactoring > Create Program from Section
  3. In the Create a Program from a Section/Paragraph field, type a name for the new file.
  4. Click Create.
  5. The new program is created, added to your project and open in the editor. The original program is not modified.

If you want to revert the changes and remove the new file from your project, click Edit > Undo.