The Copy File (CPYF) command can access remote VSAM data sets defined
to a CICS® system.
However, listed here is what you need to pay attention to:
- When the TOFILE parameter is a remote VSAM data set:
- The CRTFILE parameter must have a value of *NO.
- The MBROPT parameter must have a value of *ADD.
- The FMTOPT parameter must have a value of *NOCHK.
- When the TOFILE parameter is a remote VSAM ESDS or KSDS, the COMPRESS
parameter must have a value of *YES.