# 12 File Operation I/O Statements on OpenVMS Systems

This chapter contains information on the following file connection, inquiry, and positioning statements on OpenVMS systems:

- BACKSPACE (Section 12.1)

  Positions a sequential file at the beginning of the preceding record.

- CLOSE (Section 12.2)

  Terminates the connection between a logical unit and a file or device.

- DELETE (Section 12.3)

  Deletes a record from a relative or indexed file.

- ENDFILE (Section 12.4)

  For sequential files, writes an end-of-file record to the file and positions the file after this record. For direct access files, truncates the file after the current record.

- INQUIRE (Section 12.5)

  Requests information on the status of specified properties of a file or logical unit.

- OPEN (Section 12.6)

  Connects a Fortran logical unit to a file or device; declares attributes for read and write operations.

- REWIND (Section 12.7)

  Positions a sequential file to the beginning of that file.

- UNLOCK (Section 12.8)

  Frees a record in a sequential, relative, or indexed file that was locked by a previous READ statement.

For More Information:

- On data transfer I/O statements, see Chapter 10.
- On control specifiers, see Section 10.2.1.
- On record position, advancement, and transfer, see your user manual.

Previous Page Next Page Table of Contents