Just a thought (without seeing your code)...are you sure you are CLOSING the HTMLPANEL destination??? However you open the destination, you MUST close it. So, for example if you have:
ods tagsets.htmlpanel file=...;
** then you MUST close the file (at the very end) with;
ods tagsets.htmlpanel close;
OR, if you are using the ODS MARKUP method of invocation, you will need:
ods markup tagset=htmlpanel file=...;
*** more code; ods markup close;
Of course the statement
[pre] ods _all_ close;
will also close all of the open destinations in your program.
Do note that the name of the destination is NOT two words: "HTML PANEL", so you are probably NOT invoking the destination as:
ODS HTML PANEL (which would be wrong and should generate messages in the log) like this:
1174 ods html panel file='c:\temp\somefile.html';
ERROR 22-322: Syntax error, expecting one of the following: ;, (, ANCHOR, ARCHIVE,
ATTRIBUTES, BASE, BODY, CHARSET, CLOSE, CODE, CONTENTS, CSS, CSSSTYLE,
ENCODING, EXCLUDE, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE, HEADTEXT,
IMAGE_DPI, LAYOUT, METATEXT, NEWFILE, NOGFOOTNOTE, NOGTITLE, OPTIONS,
PACKAGE, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, RENDER, SELECT, SHOW,
STYLE, STYLESHEET, TEXT, TRANTAB.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
Since the destination is NOT invoked with ODS HTML ... that means a simple
ODS HTML CLOSE;
does NOT close an open TAGSETS.HTMLPANEL output file.
You might want to work with Tech Support on this question as they can look at all your code and see whether you are opening and closing the destination correctly.