RETRY Command
Collapse the table of content
Expand the table of content

RETRY Command

Executes the last command from the memory stack and then returns control to the calling 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 execute 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.

Community Additions

© 2016 Microsoft