/sys$common/syshlp/helplib.hlb
FORTRAN, Statements, REWIND

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Repositions a sequential file currently open for sequential or
  append access to the beginning of the file.  Do not use a REWIND
  statement for a file that is open for indexed or direct access.
  Allowed only for files on disk or magnetic tape.  Statement format:

     REWIND ([UNIT=]u[,ERR=s][,IOSTAT=ios])
     REWIND u

      u    Is an integer variable or constant specifying the
           logical unit number of the file, optionally prefaced
           by UNIT=.  UNIT= is required if unit is not the first
           I/O specifier.

      s    Is the label of a statement to which control is
           transferred if an error occurs, prefaced by ERR=.

      ios  Is an integer variable to which the completion status
           of the I/O operation is returned, prefaced by IOSTAT=.

  See also BACKSPACE.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.