Table of Contents

Search

  1. Abstract
  2. Supported Versions
  3. Writing Custom Scripts to Run Batch Jobs

Writing Custom Scripts to Execute Batch Jobs

Writing Custom Scripts to Execute Batch Jobs

Job Execution Status

Job Execution Status

Informatica MDM Hub stored procedures log their job execution status and statistics in the Informatica MDM Hub repository. The following figure shows the repository tables that can be used for monitoring job results and statistics:
An example showing how the various repository tables are linked.
The following table describes the various repository tables used for monitoring job results and statistics:
Table Name
Description
C_REPOS_JOB_CONTROL
As soon as a job starts to run, it registers itself in C_REPOS_JOB_CONTROL with a RUN_STATUS of 2 (Running/Processing). Once the job completes, its status is updated to one of the following values:
  • 0 (Completed Successfully)
    —Completed without any errors or warnings.
  • 1 (Completed with Errors)
    —Completed, but with some warnings or data rejections. See the RETURN_CODE for any error code and the STATUS_MESSAGE for a description of the error/warning.
  • 2 (Running / Processing)
  • 3 (Failed—Job did not complete)
    . Corrective action must be taken and the job must be run again. See the RETURN_CODE for any error code and the STATUS_MESSAGE for the reason for failure.
  • 4 (Incomplete)
    —The job failed before updating its job status and has been manually marked as incomplete. Corrective action must be taken and the job must be run again. RETURN_CODE and STATUS_MESSAGE will not provide any useful information. Marked as incomplete by clicking the Set Status to Incomplete button in the Batch Viewer.
C_REPOS_JOB_METRIC
When a batch job has completed, it registers its statistics in C_REPOS_JOB_METRIC. There can be multiple statistics for each job. Join to C_REPOS_JOB_METRIC_TYPE to get a description for each statistic.
C_REPOS_JOB_METRIC_TYPE
Stores the descriptions of the types of metrics that can be registered in C_REPOS_JOB_METRIC.
C_REPOS_JOB_STATUS_TYPE
Stores the descriptions of the RUN_STATUS values that can be registered in C_REPOS_JOB_CONTROL.

0 COMMENTS

We’d like to hear from you!