Replacing Source or Target of Data Mapping Definition during Execution

You can replace the source of the Data Mapping definition during execution by using the Run-time parameter EXEC_ENV_SOURCE. Therefore, you can convert a T2T definition into H2T, T2H into H2H, or H2H into T2H. However, if the resultant definition is T2T, execution of T2T using CPP engine is not supported.

Similarly, you can replace the target of the Data Mapping definition during execution by using the run-time parameter EXEC_ENV_TARGET. Thus, you can convert a T2T definition into T2H, H2T into H2H, or H2H into H2T. However, if the resultant definition is T2T, execution of T2T using CPP engine is not supported.

If you are executing the Data Mapping definition through the RRF module, you should pass the parameter with double quotes.

For example:

“EXEC_ENV_SOURCE”,”newSourceName”

“EXEC_ENV_TARGET”,”newTargetName”

If you are executing the Data Mapping definition through the ICC module, you should pass the parameter with square brackets. For more information, see Component: LOAD DATA.

Note:

  • Ensure the structure of the source/target in the mapping definition is the same as that of the replacing source/target.
  • You can use both EXEC_ENV_SOURCE and EXEC_ENV_TARGET together as well. The only limitation is if the resultant definition is T2T, it cannot be executed using the CPP Engine.