Transfer targets  Transfer errors and error handling

Chapter 8: Understanding the Transfer Process

Datatype conversion for transfer processing

WARNING! DirectConnect cannot correctly transfer varchar values containing empty strings (zero length non-null strings), in the bulk and template transfer process. Empty string varchar values are interpreted as NULL values. Express transfer transfers the empty strings correctly.

Datatype conversion is handled differently for the two transfer types. After converting the incoming source database datatypes into appropriate Open Client and Open Server datatypes, the DB2 access service does one of the following:

When conversion fails, several properties, such as DefaultDate, NumConvertError, and CharConvertError, fill the field with the default value.

NoteWhen you transfer data between two DirectConnect DB2 access services (such as DB2 to AS/400, AS/400 to DB2), Sybase recommends that you execute the transfer from command from DB2 to guarantee native datatype mapping. Also, the transfer from command is the only way you can transfer text and image columns between DB2 access services.





Copyright © 2005. Sybase Inc. All rights reserved. Transfer errors and error handling

View this book as PDF