Using the DataxFormExt interface

You can use the methods provided by the SPI to obtain information about the encoding of the data transformer.

When you create a data transformer, you implement the IBM® z/OS® Connect SPI in the service. You can also use the methods in the SPI to return information about the encoding.

For more information on using the DataxFormExt interface, see Interface DataxFormExt.

The getEncoding() method

When you invoke the service configured to use a DataXform that implements the getEncoding() method of the DataXform interface, the service will check the value of the Service.IBM_ZOS_CONNECT_ENCODING key in the requestStateMap.