Reusing Copybooks

Question: If we want to use the same copybook for more than one record set how will we declare it.


COPY copybookname REPLACING field1 BY field2.

This allows you to rename parts of the content of the copybook for the second usage.


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow