Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CASE-OPENED] DB2 bulkload truncates char fields with double quotes

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] DB2 bulkload truncates char fields with double quotes
 Login/Join
 
Platinum Member
posted
I have CHAR fields in a DB2 source table which has sometimes double quotes within the value, for example a company name is: '"Car-Discount" B.V.'
(The single quotes at the beginning and end are not part of the value but the double quotes are)

When this data is transferred by DB2 BULKLOAD from the source table to a target table (with exact same definition, just in different database) I get the following message:
SQL3114W Some data following ""Car-Discount"" in row "F0-2211" and column "10" was not loaded.

In the target table the resulting value is 'Car-Discount', so no quotes at all and truncated.

I noted in the tab-delimited intermediate file it still has the original value, but somehow the db2 client considers it a quoted string because it starts with a double quote and truncates the value after the 'closing' double quote.

Can the DB2 BULKLOAD somehow use properly quoted strings to prevent this problem?
I have also started a case with TechSupport, but maybe someone else has also encountered this issue (in DB2 or other database) and knows how to solve this.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
 
Posts: 168 | Registered: March 29, 2013Report This Post
Guru
posted Hide Post
In researching your hottrack case we determined that the DB2 bulk load program defaults to treating double quotes as a character string delimiter; we'll need to change that. In the meantime I would suggest using Insert records from memoy load type instead.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CASE-OPENED] DB2 bulkload truncates char fields with double quotes

Copyright © 1996-2020 Information Builders