Running a rule set with Datacap Maintenance Manager

You can run a rule set manually on Datacap Maintenance Manager. Running Maintenance Manager manually is useful when you want to test the rule set before you set up Windows Scheduler to run it automatically.

Procedure

To run a ruleset with Maintenance Manager:

  1. On the developer workstation, in the Start menu select IBM Datacap Developer Tools > Datacap Maintenance Manager. If the User Account Control window displays, click Yes. The Maintenance Manager window opens.
  2. On the Maintenance Manager, click Create. Maintenance Manager generates a default settings file.
  3. To modify the default settings, click in the empty field next to the lib label. Then, either select a value from the list, or enter a value. Modify the following values:
    Table 1. Modifying the default settings file values
    Value Modification
    lib Select the name of the Maintenance Manager application. This application contains the Maintenance Manager task profile.
    tprofile Select the name of the Maintenance Manager task profile.
    action_log_level Select the logging level for action messages. 0 provides maximum information.
    log_override Select True to create a new log file; False to append to the existing log file.
    log_reflush Select True to ensure that all messages are written to the log even in the case of an exception; runs slower but easier to debug.
    service_log Select the logging level for service messages. 3 provides the maximum batch log information, 0 provides the minimum log information.
  4. Select Place settings file in the batch directory. This setting creates a subfolder beneath the Batches folder of the application for the Maintenance Manager working files.
  5. Click Save to generate the settings file. The Settings.xml file is saved in the Maintenance Manager folder in the Batches folder of the selected application.
  6. Click Run Profile to test the task profile. A message confirms that the task was completed and instructs you to check the log file.
  7. Click OK.
  8. Using Windows Explorer, open the Maintenance Manager folder under the Batches folder of the application. For example, open C:\Datacap\NENU\batches\NENU_NENU.
  9. Review the log file, such as nenu_rrs.log, to see the results of the profile run.
  10. If you configured the Maintenance Manager rule set to send an email, check your email inbox for a message that contains the contents of the Maintenance Manager log file.