Hello DDP021,
by reading your answer, I get the impression I was not clear in my suggestion... so if I'm repeating myself and you've understood the first time, please forgive me in advance!!
what I wanted to say is that you don't need 3 files
TEST.TEST.PDF < Empty file
TEST.TEST.PDF.IND < within this file I have the complete path and data file name (TEST.XLS)
TEST.XLS < Actual data file
You could do like that:
Remove TEST.TEST.PDF (since it's empty you won't have any issues)
rename TEST.XML into TEST.TEST.PDF
Change the reference in TEST.TEST.PDF.IND so it points with GROUP_FILENAME: to TEST.TEST.PDF instead of TEST.XML.
that way, you will have exactly 2 files:
TEST.TEST.PDF
TEST.TEST.PDF.IND
and nothing else.
Is it clearer now?
Concerning the delete of files after the load is successful, maybe that's a bug, you might open a PMR by IBM for that.
Now, I'm just wondering, why do you want to use the name TEST.TEST.PDF
I mean if it's PDF, then it's not XLS, or anything else... why is that? That is just a test? Or is there something else behind?
Can't you create a new Application in your ApplicationGroup in order to be able to handle better XLS and have a better naming convention, like TEST.TEST.XLS and TEST.TEST.XLS.IND without faking the system with some PDF extension somewhere?
Or have I missed something???
Sincerely yours,
Alessandro