If a particular record has that word 'lazy' I want to move it to different file.
INCLUDE/OMIT and SAVE can be used to select specific records to be included in each output data set. The INCLUDE and OMIT operands provide all of the capabilities of the INCLUDE and OMIT statements including substring search and bit logic.
Why do you believe this might be more easily accomplished with "a copybook"?But we can achieve this much more easily by declaring a copy book structure and verify if that variable value is LAZY....