The POSITION specifier asks the position of the file. It takes the following form:
'REWIND' | If the file is connected with its position at its initial point |
'APPEND' | If the file is connected with its position at its terminal point (or before its end-of-file record, if any) |
'ASIS' | If the file is connected without changing its position |
'UNDEFINED' | If the file is not connected, or is connected for direct access data transfer and a REWIND statement has not been performed on the unit |
For More Information:
For details on record position, advancement, and transfer, see your user manual or programmer's guide.