Wrong output filename

I am using Com interface and with forcycle send each job to PDFCreator.
Problem is when the send process spent several time then is output filename have next filename.
Name 1 is name 2
name 2 is name 3 ..
how can I fix the this problem?
How can I send job with name that will be locked for modification.