Step 10 - Create Task to Reset the NLPG data

The Reset Task is not normally needed, but can be used to clear down the NLPG database before re-running the next NLPG Import. This may be required if:

  • you have been supplied with a new FULL set of NLPG files, rather than COU.
  • the NLPG database has become corrupted. This can happen if, for instance, any of the COU (Change Only Update) files have been manually updated prior to importing, as the Importer uses the file date for the process sequence.

To do this you need to create a Task to run the NLPG Importer with the Reset parameter. In the tree, right click on the Reset & Build from NLPG Job you have just created and select New Task.

Select the Task Type as Program and click OK

Name

Enter a name for the task e.g. NLPG Importer - Reset.

Program

This needs to be path to the python program to run the NLPG Importer. This will change depending upon where you have installed the python script.

Additional Parameters

Here you need to enter:

Importer.py <Configuration file> reset

Where <configuration file> is the name of your configuration file e.g. importer.config.

Note: Don’t forget the extra reset parameter.

Run the Task to Reset the NLPG Data

Now we need to run the task to reset the NLPG data.

Right click on the Task and select Run NLPG Importer - Reset [or whatever you called the task]. Depending upon the number of files that you have in the Archive folder this may take some time.