HELPLIB.HLB  —  READ  Qualifiers  /END_OF_FILE
       /END_OF_FILE=label

    Transfers control to the location specified by the label keyword
    (in the current command procedure) when the end of the file is
    reached. When the last record in the file is read, the OpenVMS
    Record Management Services (RMS) returns an error condition
    indicating the end-of-file (EOF). If the /END_OF_FILE qualifier
    is specified, the command interpreter transfers control to the
    command line at the specified label.

    If the /END_OF_FILE qualifier is not specified, control is given
    to the error label specified with the /ERROR qualifier when the
    end of the file is reached. If neither the /ERROR nor the /END_
    OF_FILE qualifier is specified, then the current ON condition
    action is taken.
Close Help