REVERSED Phrase (Sequential Files)
This phrase applies only to device type TAPEFILE.
OPEN statement processing positions the file at its end. Subsequent READ statements make the data records available in reverse order, starting with the last record. REVERSED can only be specified for input files.
If the concept of reels has no meaning for the storage medium (for example, a direct access device), the REVERSED and NO REWIND phrases do not apply. When the phrases are used in this situation, a file status of 07 is set.