SetEtl

Syntax

SetEtlResult SetEtl(EtlId tEtl, SetEtlArg tArg)

Parameters

tEtl. Opened ETL task instance moniker.

tArg. Parameters for changing metadata.

Description

The SetEtl operation changes ETL task metadata.

Comments

This operation enables the user to:

To execute the operation, in the tEtl parameter specify the ETL task instance moniker, and in the tArg parameter specify parameters of change. The moniker can be obtained on executing the OpenEtl operation. In the tArg.pattern field specify the pattern that will be used to make changes, and in the tArg.meta field specify the updated metadata. The tArg.metaGet field can contain the pattern to be used to get the information about task objects after the changes are made. The operation results in the moniker of the changed ETL task, and also the updated metadata if the tArg.metaGet field was defined on executing the operation.

Use the SaveObject or SaveObjectAs operation to save the ETL task after the changes are made.

Example

Various methods of using the operation are given in the following examples:

Example name
Adding the Copy Data Object to ETL Task
Adding Repository Data Provider
Adding Repository Data Consumer
Starting ETL Task Execution

See also:

Working with ETL Task