SetEtl

Syntax

SetEtlResult SetEtl(EtlId tEtl, SetEtlArg tArg)

Parameters

tEtl. Opened ETL task instance moniker.

tArg. Metadata change parameters.

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. The tArg.pattern field is used to specify the pattern, according to which the changes are made, and the updated metadata is specified in the tArg.meta field. The tArg.metaGet field can contain the pattern to be used to extract 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
Starting ETL Task Execution

See also:

Working with ETL Task