Hi,
Notesstream and error handling question:
I use a NotesStream (in LS) to create XML transfer files.
The LS agent fills the stream with the XML tags, line by line.
It works fine except in case of unforeseen error (example: type mismatch).
In this case, the error handling routine sends a mail notification to a db administrator (this is OK)
BUT the started XML file EXISTS.
This XML is obviously invalid because unterminated. What is the best way to avoid this file to exist?
Remove the invalid file in the Error Handling procedure?
Isn’t it any better way to achieve this goal?
Thank you by advance for your help…
P. Pierlot
Lotus Domino Designer
Belgium