The
File statement creates a
File handler that is used to read from and write to text files that are not not associated with data dictionaries.
file_handler1 to
file_handlerN are CSPro names that must be unique and must contain only letters, numbers, or the underscore character. The names must begin with a letter. You can declare File objects globally in
PROC GLOBAL or locally in functions or procedures.
If declared globally, the physical name of the file can be specified in the Define File Associations dialog when the application is run. The name can also be specified in a
PFF file or at runtime by using the
File.open,
open, or
setfile functions.