The advance specifier determines whether nonadvancing I/O occurs for a data transfer statement. It takes the following form:
Trailing blanks in the expression are ignored.
The ADVANCE specifier can appear only in a formatted, sequential data transfer statement that specifies an external unit. It must not be specified for list-directed or namelist data transfer.
Advancing I/O always positions a file at the end of a record, unless an error condition occurs. Nonadvancing I/O can position a file at a character position within the current record.
For More Information:
For details on advancing and nonadvancing I/O, see your user manual or programmer's guide.