IEtlCustomCodeBlock.Execute

Syntax

Execute;

Description

The Execute method starts custom procedure execution.

Comments

The method will be started during custom procedure execution in the ETL task. The implementation of this method contains the code that should be executed by a data handling procedure.

Example

The specified example is a class, in which custom procedure methods are redetermined. The specified class can be further used in the custom procedure template.

Add links to the Etl and XML system assemblies.

Class UserProcedure: Object, IEtlCustomCodeBlock
    Sub Execute;
    Begin
        Debug.WriteLine("Execute...");
        //...
        //Implementation of custom procedure or call of code with procedure algorithm
        //...
    End Sub Execute;

    Sub Read(Element: IXMLDOMElement);
    Begin
        Debug.WriteLine("Read...");
        If Element <> Null Then
            Debug.WriteLine("Element: " + Element.xml);
        End If;
    End Sub Read;
End Class UserProcedure;

See also:

IEtlCustomCodeBlock