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  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SQL Syntax error when trying to truncate sql server tablea table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] SQL Syntax error when trying to truncate sql server tablea table
 Login/Join
 
Platinum Member
posted
Yes even though I did do a refresh on the synonym for the original acvadvr master it did not take. Deleting and recreating it did solve the issue. Thanks Francis!



I want to write to a slq server table nightly that removes the information from the table and then does an add of the data nightly.

In testing I am starting with just writing to the database fist and the following is the code I am using to write to do this

MODIFY FILE ACVADVR
FIXFORM FROM ADVRHOLD
MATCH Pidm
ON NOMATCH INCLUDE
ON MATCH UPDATE StudentID MAJRAdvr SDSAdvr STERPAdvr OASAdvr CAREAdvr ATHLAdvr LoadDate
DATA ON ADVRHOLD
END  


when I run this I get the following error message.

(FOC437) THE FORMAT USED WITH THE FIXFORM IS INCOMPATIBLE WITH THE DATA FORMAT
BYPASSING TO END OF COMMAND

I've checked and all the data elements in the .fex match those in the table. Can anyone help with what this error message may be hinting at.

Thanks

This message has been edited. Last edited by: Trudy,


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Expert
posted Hide Post
quote:

? 437
(FOC437) THE FORMAT USED WITH FIXFORM IS INCOMPATIBLE WITH THE DATA FORMAT
The type and/or length specifications on a FIXFORM element is not
compatible with its format attribute. For example, the error
occurs if a FIXFORM has COST/P4, and COST is described as D8.2 in
the Master File Description


Did you compare the fields in the masters of ACVADVR and ADVRHOLD?

Also, why does the title of this post mention "SQL Syntax error"?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SQL Syntax error when trying to truncate sql server tablea table

Copyright © 1996-2020 Information Builders