Dan,
Immediately after the important commands, you can check the
SQLCODE variable for normal completion. If SQLCODE = 0, the
command completed normally. If SQLCODE = 100, the command
completed, but no rows were found, or the command had no effect,
which is really the same thing.
Many applications do this:
UPDATE ...
IF SQLCODE <> 0 THEN
-- take corrective action, logging or looping or exiting
ENDIF
On Thu, 9 Aug 2001 08:55:27 -0700, Dan Goldberg wrote:
>I read that if a command runs as part of a command file and the
waiting period expires, R:BASE ignores the command and goes on to
the next command.
>
>Does anybody know a command to detect if the wait period expired??