Share via


JmgConsistencyCheck_job.run Method [AX 2012]

Executes a consistency check for the JmgJobTable and JmgBundleSlize tables.

Syntax

public void run()

Run On

Called

Remarks

This method contains the code that does the actual job of the class.

Examples

myRunbase myRunbase; 
 
myRunbase = myRunbase::construct(); 
if (myRunbase.prompt()) 
{ 
    myRunbase.run(); 
    //... 
} 
  
public void run() 
{ 
    if (! this.validate()) 
    { 
        throw Error("Error message..."); 
    } 
    try 
    { 
        ttsbegin; 
        ttscommit; 
    } 
    catch (exception::DeadLock) 
    { 
        retry; 
    } 
}

See Also

JmgConsistencyCheck_job Class

RunBase Class