Extracting and Expanding Copybooks (Cobol, MFS Only)

To extract source code as a copybook, select the code you want to extract, then choose Edit > Extract Copybook. A dialog box opens, where you can enter the name of the new copybook. Click OK. The new copybook is added to the repository and the extracted code is replaced by a COPY statement referencing the new copybook.

To expand COPY statements, choose Edit > Expand Copy Statements. The added lines of code are highlighted and a comment line is inserted to identify the source copybook.