Back to Index |

Job Component
CRJobStatistics Object

The CRJobStatistics object represents the statistic captured during the execution of the job for a single data object. For example, if you have 2 data objects in your job, 1 input and 1 output, there will be 2 statistics objects which describes how many records flowed from each object. See the GetJobStatistics method for information and samples on how to retrieve statistics for your job.

Property | Type | Description
JobName | String | Job Name related to this statistics entry
JobObj | String | Data object name referenced in the job
JobObjType | String | Type of data object (Odbc, Oledb, etc...)
JobObjStatus | StatusTypes | Current status of the data object (see StatusTypes below)
JobObjRecordCount | Long | Current record count related to this data object
JobObjStartTime | DateTime | DateTime the process started
JobObjCurTime | DateTime | Current time; used to calculate records per second
JobObjSecondsDiff | Long | Difference in seconds between Start time and the current time
JobObjRecsPerSecond | Long | Number of records per second flow through the data object

Enum StatusTypes
Finished
Running
Aborted
Stopped
Ready
NotCompiled
End Enum

© 2003 - 2007 Relational Solutions, Inc. - All rights reserved