REWIND
Rewind the database (used in conjunction with GET).

Format
 Rewind DATABASE [/Qualifiers ...]
 If the current record for this database has been modified, it is written back to the record stream before any other record operation takes place. If an error occurs during this write-back operation (e.g. duplicate key, record not locked for write, etc.), an error is generated for this statement. The record remains current, but is now considered to be unchanged so that the next record operation will not attempt another write-back.

Qualifiers
 /Fail=LABELLabel to which to branch if the statement fails.
If LABEL is %EXIT, exit the routine or loop.
If in a loop, and LABEL is %CONTINUE, continue the loop. If not in a loop, and LABEL is
%CONTINUE, an error message displays.
 /Succeed=LABELLabel to which to branch if the statement
succeeds. If LABEL is %EXIT, exit the routine or loop.
If in a loop, and LABEL is %CONTINUE, continue the loop. If not in a loop, and LABEL is %CONTINUE, an error message displays.
 /NofailDo not signal an error. Instead, set the
internal variable %FAIL.
 /Key=DATABASE(#expr)
/Key=DATABASE(#FIELD)
The required key field. This qualifier can be omitted if the operation is on the primary key.

Example