Using the MOVEFILE Command

Use the MOVEFILE command, with the FILEDEF command, to place a file in your virtual reader, or to copy a file from your reader to another device. For example:
spool punch to *
filedef output punch
filedef input disk coffee exec a1
movefile input output
The file, COFFEE EXEC A1, is punched to your virtual card punch (in card-image format) and spooled to your own virtual reader.

For more information on using the FILEDEF command, see z/VM: CMS Commands and Utilities Reference.