RETRY Command

See Also

Reexecutes the previous command.

Syntax

RETRY

Remarks

RETRY returns control to the calling program and reexecutes the last line executed in the program. RETRY is similar to RETURN, except RETURN executes the next line in the calling program.

RETRY is useful in error-handling routines. It is frequently used to reexecute a command until a record- or file-locking function succeeds in locking the record or file. You can use SET REPROCESS to control retries of a record- or file-locking function. SET REPROCESS is preferable in most network situations.