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.
Before loading the target I need to delete records based on date. So I have use Stored Procedure to run the delete, but I am receiving the following error message.
The SQLCODE IS -5016 comes from IBM DB2 and means:
The qualified object name is inconsistent with the naming option.
I note that you are using SQL (automatic pass through) for the DELETE so DB1.FDP_STG refers to the app dir DB1 and synonym FDB_STG. Possibly you wanted to use SQL DB2 (direct pass through)?
Also the expression in the parenthesis returns a number, so DATEFD must be a number not a DATE.
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007
Clif: The DB1 refers to the database name and FDB_STG is the table name.
When I run the delete query in the database its working fine and when I run the following stored procedure directly it works, but when I pull the stored procedure to process flow it is not working.
SQL DELETE FROM DB1.FDP_STG WHERE DATEFD >= ((40927) - DAYS(CAST('1899-12-31' AS DATE)));
Please let me know what keywords am I missing in the stored procedure.
Dhagen: Am not sure, but I know that normal data flow will delete or truncate all the records based on the key column, but in this scenario I have to delete based on date.
WebFOCUS 7.7, iWay Data Migrator, Windows Excel, PDF, HTML