Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Datatype conversion for Transfer
processing [Table of Contents] Error reporting
for Transfer processing

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 9 Understanding the Transfer process
[-] Transfer errors and error handling

Transfer errors and error handling

Transfer processing errors can occur due to:

Each of these transfer error types is explained in the following sections.

Structural errors

A structural error can be one of two types:

Each type is described in the following sections.

Incompatible datatypes

Datatypes are incompatible when source and target table datatypes cannot be mapped to one another. For example, binary to datetime transfers are not allowed.

For both transfer types, if any columns have incompatible datatypes, the access service cancels the transfer, without attempting to transfer any rows.

Incompatible number of columns

When the access service detects an unequal number of columns between the source and the target, a structural error may occur.

Value errors

Value errors occur during transfer processing when the value being inserted has one of the following characteristics:

The access service handles these errors using the following properties:

If the SendWarningMessages property is set to yes, the access service sends a message to the client application when it encounters value errors.

In addition, as mentioned in "Datatype conversion for Transfer processing" , the preceding properties can be used to fill in default values when datatype conversion fails during both types of transfer.

For more information about the configuration properties mentioned here, see Chapter 2, "Configuring the DirectConnect Access Service Library"

For information about values that cause errors for the AS/400 access service during bulk copy transfer, see "Errors from data values" .


Datatype conversion for Transfer
processing [Table of Contents] Error reporting
for Transfer processing