Process Help

COPY - copy one file to another

 

Process Name

Menu Path

Link to Command Table

COPY

ata ribbon | Data Tools | Tables | Copy File

Click here

 

Introduction

Copies any file within the database from the input file to the output file.

How to use

If retrieval criteria are in force, then the output file only contains those records which match the criteria. If an index file is copied, the output file contains the joined set of files accessed by the index; it is not itself an index.


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

IN

Input file.

Input

Yes

Table

Output Files

Name

I/O Status

Required

Type

Description

OUT

Output

Yes

Table

Output file.


Notes

No check is made for the existence of the specified output file, which therefore can be overwritten.


Example

The following example copies a file using a retrieval criteria of 'COPPER>0.5' i.e. all records which have a value of greater than and equal to 0.5 in the field COPPER are copied:

!COPY &IN(FILE1), &OUT(FILE2), COPPER>0.5

Error and Warning Messages

Message

Description

Solution