Setting the Checkpoint Using Automation

To set the checkpoint your application must use the automation interface to the adTempus engine.

To do this, your application must first obtain the value of the "ADJobInstance" environment variable, using whatever function is provided by the programming language.

Once you have the ADJobInstance value, you create an instance of the ADTempusSrv.Engine object and call the SetJobCheckpoint method as follows:

engine.SetJobCheckpoint(ADJobInstance,"checkpoint")

where "ADJobInstance" is the environment variable value you previously retrieved.