SMCOPY command

Use the SMCOPY command to copy all or part of a stream or data set to another stream or data set (that is, stream to stream, stream to data set, data set to stream, or data set to data set).
Note:
  1. When using SMCOPY under ISPF, you must be logged on to Session Manager to copy TSOOUT and TSOIN streams. Also, be certain SESSMGR is set to YES in ISPF. For information about setting SESSMGR to YES, see z/OS V2R2 ISPF Planning and Customizing.
  2. If the source and target of the copy request are both data sets, (SYSOUT or QSAM), you do not have to be logged on under the Session Manager to use the SMCOPY command.