This is used in the Copy File CPYF command.
They are two of the values for the Record format field mapping (FMTOPT)
Map allows the CPYF to copy fields (columns) based on Field name.
Drop is necessary when Map is used if any fields (by name) in the from file don’t exist in the to file.
The default *NONE is used if the from and to files have identical structure
The value *NOCHK is used when you want a byte by byte copy without field constraints.
The *MAP option is usually used when:
- You have redefined field(s) (for example, from packed 7,0 to packed 9,0)
- You have rearranged the order of the existing fields
- You have added new field(s) to the file
The *DROP option is usually used when you remove fields from the file
Kevin C. Ketzler