FCOPY Reference Manual (32212-90008)

Chapter 2 23
Using FCOPY
Issuing an FCOPY Command
type the MPE command. This feature of FCOPY is handy when you wish to use the FILE
command to define the files you intend to copy. For example,
>:FILE PRINTER;DEV=LP
>FROM=A;TO=*PRINTER
Using FCOPY in a Job
You can use the MPE STREAM command to create jobs that contain FCOPY commands.
Follow the instructions for streaming jobs in the MPE V/E Commands Reference Manual
(32033-90006) or the MPE XL Commands Reference Manual (32650-90003). Your job input
file may contain MPE FCOPY commands, FCOPY subsystem commands, or both. Be sure to
provide a substitute character (usually an exclamation point) for the MPE command
prompt. Do not enter FCOPY prompts. For example,
:STREAM EXAMPLE
!JOB FCOPYJOB,JOE.FCOPY.EXAMPLES,STREAM
!RUN FCOPY.PUB.SYS
FROM=A;TO=B;NEW
EXIT
!FCOPY FROM=B;TO=C;NEW
!EOJ
#JI44
: