Fname is the internal file name declared earlier.
Statement can be any valid statement as described in the beginning of the section on statements.
Notice that only a single statement is allowed, however. For this reason, in order to process multiple statements for records accessed via the FOR statement, either the compound statement must by used, or a procedure must by called. Any nonunique field references in statement will be resolved using fname . The FOR statement is used to read all of the records from a file and to execute a statement for each record read. Breaks and totals are handled automatically.