A file equation can be used to modify file specifications of an existing file.
The FCOPY subsystem can be used to copy data from an existing file into a new
file using a back reference to the file equation for the new specifications.
The following example copies data from the file DOC to a new KSAM XL
file DOC1. The file type and key specifications for the new file are specified
in the file equation.