COPY

When you type COPY on the FLST command column use the following syntax:
Read syntax diagramSkip visual syntax diagram
>>-COPY--/--fileid---------------------------------------------><

COPY copies a file.

Operands

fileid
specifies the file ID of the file where the results are placed.
Note: If fileid already exists, it is replaced.

Example

'COPY / TEST3.EXEC'

This example, executed from the command column next to TEST1.EXEC, creates a new file, TEST3.EXEC, that is identical to TEST1.EXEC.

When you type COPY from the command line use the following syntax:
Read syntax diagramSkip visual syntax diagram
>>-COPY--fileid1--fileid2 -------------------------------------><

Operands

fileid1
specifies the file ID of the file the command acts on.
fileid2
specifies the file ID of the file where the results are placed.
Note: If fileid2 already exists, the contents of fileid1 replaces it.

Example

'COPY TEST1.EXEC TEST3.EXEC'

This example, executed from the command line, creates a new file (TEST3.EXEC) that is identical to TEST1.EXEC.



rvse563.html | Timestamp icon Last updated: Monday, 5 June 2017