Previous Topic: CLOSENext Topic: COMPILE


COPY

Copies an IMOD from a sequential file to an IMOD file or from one IMOD file to another.

Syntax

COPY IMOD {name1|&LISTn} TO dd1 FROM dd2 [REPLACE] [NEWNAME name2]

Parameters

name1

Name of the IMOD to copy. This name is assigned to the new IMOD unless you specify NEWNAME.

&LISTn

Name of the list containing the IMODs to be compiled.

dd1

DDname of the target IMOD file.

dd2

DDname of the input file, an IMOD file or a sequential file.

REPLACE

Copy operation replaces an existing IMOD of the same name. If an IMOD of the same name does not exist, it is added.

name2

Name to assign to the new IMOD. If name1 is specified as a list, you cannot specify name2.

Default: name.

Usage Note

To copy an IMOD to a sequential file, use the EXTRACT command.