Sunday, 12 August 2012

IBM DATACAP-How do I change the batch numbering configuration for IBM Datacap Taskmaster


Cause

  1. When Taskmaster Client runs a batch creation task, such as a scan task, it first requests a new batch number from the Taskmaster Server
  2.  Taskmaster Server generates a new number via a component called batchn32.dll. 
  3. 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. 
  4. These files are named batnewXX.dll where XX is a number from 01 to 15 and represent the different formats available.

Answer

Procedure
  1. Stop Taskmaster Server.
  2. Go to C:\Datacap\dcshared\batchnew\batchnew.txt  to read the details about the different batch Numbering details
  3. Copy the desired BATNEWxx.DLL from the \Datacap\dcshared\batchnew folder to \Datacap\dcshared\BATCHN32.DLL, changing the name to overwrite the existing file.
  4. Using the appropriate database tool, edit the Taskmaster engine database, enginfo table.
  5. 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.
  6. Restart Taskmaster Server.

4 comments:

  1. Hi Srinivas,

    How to change the batch name with our custom code, like I want to add name for a bacth during scan rule set running..

    ReplyDelete
  2. hi chandu ..

    the 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



    ReplyDelete
  3. Hi Srinu,
    This issue was fixed in Datcap 8.1 v.

    Regards,
    Thrinath :)

    ReplyDelete
  4. Hi Srinivas

    Is there a way for me to rename the datacap batches? For instance

    Thank you!
    Tanujah :)

    ReplyDelete