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    SQL FETCH CURSOR ERROR. : <TABLENAME>

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SQL FETCH CURSOR ERROR. : <TABLENAME>
 Login/Join
 
Member
posted
Hi All,

I am trying to load data into DB2 tables using Data Management Console. The mapping is a straight forward from DB2 Library1 to Db2 Library2, which exists in the same server.

The flow is valid without any errors, but while running the flow I am getting the following error.

02/17/2012 09:34:42 Server1 The flow is valid. No errors or warnings found.
02/17/2012 09:34:53 Server1 (ICM18122) Request - flows/df_flow1 (Owner: User1) submitted.
02/17/2012 09:34:53 Server1 (ICM18742) target1 type DB2 Existing target
02/17/2012 09:34:53 Server1 (ICM18429) Issuing PREPARE
02/17/2012 09:34:53 Server1 (ICM18743) Starting Load
02/17/2012 09:34:53 Server1 AGGREGATION DONE ...
02/17/2012 09:34:53 Server1 (FOC1400) SQLCODE IS -332 (HEX: FFFFFEB4)
02/17/2012 09:34:53 Server1 (FOC1406) SQL OPEN CURSOR ERROR. : TABLE1
02/17/2012 09:34:53 Server1 (ICM18745) Commit forced at: 1 for 1 row(s)
02/17/2012 09:34:53 Server1 (ICM18041) -- stats for source file
02/17/2012 09:34:53 Server1 (ICM18516) 0 : Row(s) processed by job
02/17/2012 09:34:53 Server1 (ICM18519) 0 : Row(s) rejected due to format error
02/17/2012 09:34:53 Server1 (ICM18372) -- stats for target file: target1
02/17/2012 09:34:53 Server1 (ICM18516) 0 : Row(s) processed by job
02/17/2012 09:34:53 Server1 (ICM18514) 0 : Row(s) accepted by target table
02/17/2012 09:34:53 Server1 (ICM18515) 0 : Row(s) inserted into target table
02/17/2012 09:34:53 Server1 (ICM18517) 0 : Row(s) updated in target table
02/17/2012 09:34:53 Server1 (ICM18518) 0 : Row(s) deleted from target table
02/17/2012 09:34:53 Server1 (ICM18520) 0 : Row(s) rejected due to validation errors
02/17/2012 09:34:53 Server1 (ICM18521) 0 : Row(s) rejected due to no match
02/17/2012 09:34:53 Server1 (ICM18522) 0 : Row(s) rejected because duplicate exist
02/17/2012 09:34:53 Server1 (ICM18808) 0 : Row(s) rejected due to DBMS error
02/17/2012 09:34:53 Server1 (ICM18744) Ending Load
02/17/2012 09:34:53 Server1 (ICM18040) Return Code = 18708
02/17/2012 09:34:53 Server1
(ICM18076) Request: flows/df_flow1 - finished processing
02/17/2012 09:34:53 Server1 (ICM18007) CPU Time : 38


Suggestions and solutions are appreciated.


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML
 
Posts: 12 | Registered: December 27, 2011Report This Post
Guru
posted Hide Post
The SQLCODE is -332 is coming from DB2 so you could start here All SQLSTATE Cause and Recover Information


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
Member
posted Hide Post
quote:
Originally posted by Clif:
The SQLCODE is -332 is coming from DB2 so you could start here All SQLSTATE Cause and Recover Information


Thanks for your help Clif and that works.


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML
 
Posts: 12 | Registered: December 27, 2011Report 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    SQL FETCH CURSOR ERROR. : <TABLENAME>

Copyright © 1996-2020 Information Builders