Generation job using BATCH MODE giving same file names everytime

Document ID : KB000092918
Last Modified Date : 25/04/2018
Show Technical Document Details
Issue:
I have tried to execute the publish job in CA Datamaker using a batch mode.
fter execution 2 files will be created in the following path
C:\Users\Administrator\AppData\Roaming\Grid-Tools\DM5575.cmd
C:\Users\Administrator\AppData\Roaming\Grid-Tools\DM5575.xml.
If I tried to execute another publish job from different project. The same file is created with the same name and but the content of the information is getting replaced according to the current publish job execution.
Is there any possible to get the .cmd file and .xml file for each execution seperately?
Resolution:
   This issue will happen in couple of scenarios
1)   If we are not closing the previous session/window of “Publish data pool” screen after we do publish of first job and open the project view screen from there and do publish to batch, we will see this error. To avoid this, close the “Publish data pool” screen after we do publish of first job and re-publish the second job.

2)  If we copy the data pool from one project to another project (In this case, data pool id remains same) and generate the publish job, we will get an error. To avoid this, create a new project with different data pool and register the object and generate the data in batch mode.