Lesson 6: COPY Parameters [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation
MPE V to MPE XL: Getting Started
Lesson 6: COPY Parameters
When copying a source file to a target file you may specify one of three
options:
* ;ASK prints the following question on the screen: PURGE OLD
targetfile.group.account? if the target file already exists. The
;ASK option is the default for sessions.
COPY FROM=X;TO=Y;ASK
or
COPY X,Y;ASK
or, simply,
COPY X,Y
* ;YES purges old targetfile.group.account automatically, if one
exists. The ;YES option is the default for jobs.
COPY FROM=X;TO=Y;YES
or
COPY X,Y;YES
* ;NO terminates the copy process if a duplicate file name exists.
COPY FROM=X;TO=Y;NO
or
COPY X,Y;NO
Exercises
11. Again make editing changes to the file RICKY that you created
earlier.
Copy RICKY to LUCY so that the system will terminate the copy
process without giving you the prompt PURGE OLD?.
Command:
12. Make a change to RICKY. Then copy RICKY to LUCY so that the system
will perform the copy without giving you the prompt PURGE OLD?.
Command:
13. Print the file LUCY to your screen to verify that the copy occurred.
Command:
MPE/iX 5.0 Documentation