The following example declares a file named F.
FILE F
The following example declares a file named NEWFILE. This FILE declaration is the first step in creating a new disk file with the title DATA on a pack named PACK. Synchronized output, which is useful for auditing and recovery, is performed.
FILE NEWFILE(KIND=DISK, MAXRECSIZE=14, BLOCKSIZE=420, NEWFILE,
FILEUSE=OUT, AREAS=20, AREASIZE=450, SYNCHRONIZE=OUT,
TITLE="DATA ON PACK.");The following example declares a file, SCREEN_OUTPUT, to be a remote file. Typically, using this declaration in conjunction with a WRITE statement allows a program to write to a computer terminal.
FILE SCREEN_OUTPUT(KIND=REMOTE)
The following FILE declaration sets the arithmetic-valued file attribute AREAS to its maximum value:
FILE F (AREAS = MAXIMUM)

