To create a new program with the contents of a section or paragraph from another program without modifying the original program:
- In the COBOL editor, place the cursor on a paragraph or section.
- Right-click in the editor and then click
- In the
Create a Program from a Section/Paragraph field, type a name for the new file.
- Click
OK.
- 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
.