Following the read operation with @READ or @GET, the work file is linked to the file name (implicit local @FILE entry). This predefines the file name for the @WRITE (format 2) and @SAVE statements.
Linkage can also be performed explicitly using the @FILE statement. The predefined file name then applies to the statements @READ, @GET and @WRITE (format 2), @SAVE, @ELIM and @OPEN (format 2).
The linkage is eliminated again when the work file is completely deleted with @DELETE (format 2) or with statements which implicitly execute a @DELETE (format 2) or is explicitly deleted with the @FILE statement.
In addition, the @FILE statement can be used to define a presetting which applies globally to all the work files. An explicit @FILE entry (including global entries) always has priority over an implicit @FILE entry.