Sie sind auf Seite 1von 2

Important Columns in EIM Processing

There are some mandatory columns which need to be populated while processing data in EIM tables. These columns are described below :
ROW_ID

This column is required for EIM table. It should yield a unique value in combination with IF_ROW_BATCH_NUM. EIM generated row_id has a format of XX-XXX-XXX where base table generated row_id has a format of X-XX. This format differentiation provides a way to query EIM generated records easily (ROW_ID LIKE %-%-%). Note: ROW_ID values in EIM tables are not the ones that are assigned to the records loaded into Base Table. For e.g. - a record having a row_id aa-bbb-ccc in EIM table would not have the same row_id when it is loaded into the base table.
IF_ROW_BATCH_NUM

This is another required column at EIM table level which is assigned to a group of rows to be processed together as a batch. It can have any value between 02147483647. The recommended size a batch is 5000. This column value is represented by a parameter BATCH in IFB file and can be specified either singly, values separated by comma, or a range of values. E.g. BATCH = 100, BATCH = 100200, BATCH = 100,101,102
IF_ROW_STAT

This is another required column which is used to reflect the result of the load process. While populating EIM tables, this column can contain any value except NULL. But as a convention, it is initialized as FOR_IMPORT during a Import process, FOR_EXPORT during an Export process, FOR_DELETE during deletion of records and FOR_MERGE during the merge process. Some of the common values of IF_ROW_STAT after the processing of records are: IMPORTED record imported successfully EXPORTED - record exported successfully DELETED record deleted successfully PARTIALLY_IMPORTED record loaded for target table but failed for secondary table IN_PROGRESS processing going on DUP_RECORD_EXISTS record already existing in destination tables

FOREIGN_KEY a required foreign key column in the target table could not be resolved
REQUIRED_COLS when a required column for the target table is left blank. IF_ROW_STAT_NUM

This column is populated by EIM table to indicate the status of processing. If the processing is successful, this column contains a zero (0) else this column contains a positive value which is the pass number where failure occurred.
Temporary Columns

These columns are used to store temporary values generated during the processing of load. Temporary columns in EIM tables begin with T_tablename_columnname. They play a significant role while troubleshooting any failure. For e.g. while loading account through EIM_ACCOUNT table, T_ORG_EXT__RID column represents the row_id of the record loaded into the base table. Following are some of the useful temporary columns: T_DELETED_ROW_ID - Deleted ROW_ID from the Base Table. T_EXPORTED_ROW_ID - Exported ROW_ID from Target Table. T_MERGED_ROW_ID - Merged into ROW_ID from Target Table. T_XXX__RID - ROW_ID of the record loaded into the base table T_XXX__EXS - Whether the record being manipulated Exists. Can have the value Y or N T_XXX__UNQ - Whether the record being manipulated is Unique. Can have the value Y or N T_XXX__STA Status of the record being manipulated. Contains the value zero (0) in case of success and a positive non zero value in case of failure.
Note: XXX represents the table name.

Das könnte Ihnen auch gefallen