Cause
- When Taskmaster Client runs a batch creation task, such as a scan task, it first requests a new batch number from the Taskmaster Server
- Taskmaster Server generates a new number via a component called batchn32.dll.
- A library of files comes with the Taskmaster install that can be used to overwrite the default batchn32.dll to change the batch numbering scheme.
- These files are named batnewXX.dll where XX is a number from 01 to 15 and represent the different formats available.
Answer
Procedure
- Stop Taskmaster Server.
- Go to C:\Datacap\dcshared\batchnew\batchnew.txt to read the details about the different batch Numbering details
- Copy the desired BATNEWxx.DLL from the \Datacap\dcshared\batchnew folder to \Datacap\dcshared\BATCHN32.DLL, changing the name to overwrite the existing file.
- Using the appropriate database tool, edit the Taskmaster engine database, enginfo table.
- Clear the db_LastBatch, db_lastQueue and db_LastDate fields. This is not necessary for all changes, but if you cannot create a batch after making the change, be sure to do this step.
- Restart Taskmaster Server.
Hi Srinivas,
ReplyDeleteHow to change the batch name with our custom code, like I want to add name for a bacth during scan rule set running..
hi chandu ..
ReplyDeletethe batch dlls ad per now is changing date format and sequence of numbering ,but if we want to prefix a name while generating batch,it is going into struck mode,lets hope IBM will fix this in their next version
Hi Srinu,
ReplyDeleteThis issue was fixed in Datcap 8.1 v.
Regards,
Thrinath :)
Hi Srinivas
ReplyDeleteIs there a way for me to rename the datacap batches? For instance
Thank you!
Tanujah :)