Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

RETRY Command

Visual Studio .NET 2003

Reexecutes the previous command.

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.

See Also

ON ERROR | RETURN | SET REPROCESS

Show:
© 2015 Microsoft