Hi
I have developed an error recovery routine for DBF
that includes both general errors (overflow, type error, etc.) and
unexpected abend, if you are interested I will send them by private
to
jlborlando@yahoo.com.ar
regards
"Itai Ben-Artzi" escribió en el mensaje de
noticias:k7pbve1ou07t9jttqjjm5jn4r56njb2cmt@4ax.com...
It seems the Begin Transaction – End Transaction does not
work. If a
runtime error occurs between Begin Transaction and End
Transaction,
all database operations up to the error point are being
executed.
For example:
*******************
BEGIN TRANSACTION
(nArea1)->(DbAppend())
(nArea1)->(FieldPut(1, xVal1)
(nArea1)->(FieldPut(2, xVal21)
(nArea2)->(DbAppend())
(nArea2)->(FieldPut(1, xVal1) // Runtime here.
(nArea2)->(FieldPut(2, xVal21)
END TRANSACTION
*******************
All operations throughout the runtime error point are
executed.
What am I missing?
Many thanks,
-Itai