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.
I am trying to use Modify to update a sql table by first holding a file and doing the modify. I am getting this error:
(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF) XOPEN: 42000
: Microsoft OLE DB Provider for SQL Server: [42000] Syntax error or access
: violation
(FOC1740) EXECUTE ERROR : ABS_FORECAST_ADJUSTMENT
0 TRANSACTIONS: TOTAL = 1 ACCEPTED= 1 REJECTED= 0
SEGMENTS: INPUT = 0 UPDATED = 0 DELETED = 0
ON TABLE HOLD AS HFRCST FORMAT ALPHA
END
-RUN
MODIFY FILE ABS-FORECAST_ADJUSTMENT
FIXFORM FROM HFRCST
MATCH COMPANY CUSTOMER
ON MATCH UPDATE SALES_FORECAST_MO1 SALES_FORECAST_MO2 SALES_FORECAST_MO3 SALES_FORECAST_MO4 SALES_FORECAST_MO5 SALES_FORECAST_MO6 SALES_FORECAST_MO7 SALES_FORECAST_MO8 SALES_FORECAST_MO9 SALES_FORECAST_MO10 SALES_FORECAST_MO11 SALES_FORECAST_MO12 LAST_CHANGE_DATE LAST_CHANGE_USER
DATA ON HFRCST
END
-RUN
This message has been edited. Last edited by: Kerry,
Donald, a possible cause is that the update is on a single line, I do not know if Modify supports long lines as well as WebFOCUS now does.
Try recoding it to go over multiple lines which is what we did in the old days.
ON MATCH UPDATE SALES_FORECAST_MO1 SALES_FORECAST_MO2 SALES_FORECAST_MO3 ON MATCH UPDATE SALES_FORECAST_MO4 SALES_FORECAST_MO5 SALES_FORECAST_MO6 ON MATCH UPDATE SALES_FORECAST_MO10 SALES_FORECAST_MO11 SALES_FORECAST_MO12 ON MATCH UPDATE LAST_CHANGE_DATE LAST_CHANGE_USER