Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.