CCSIDs using FMTOPT(*MAP) or FMTOPT(*NOCHK)

When FMTOPT(*NOCHK) is specified, no CCSID conversions are done. Record data is copied directly from left to right into the to-file without any regard to field types or CCSIDs.

When FMTOPT(*MAP) is specified and a valid conversion is defined between the CCSID of the from-field and the CCSID of the to-file field, the character data is converted to the CCSID of the to-file field. However, if the CCSID of the from-file field or the CCSID of the to-file field is 65535, no conversions are done.

When FMTOPT(*NONE) is specified, the from-file and to-file attributes must be the same, unless one of the CCSIDs in corresponding fields is 65535.

For the CPYFRMQRYF command, the FMTOPT rules are the same except that the changed query format is used instead of a from-file format.