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] (FOC002) A WORD IS NOT RECOGNIZED: ENGINE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] (FOC002) A WORD IS NOT RECOGNIZED: ENGINE
 Login/Join
 
Platinum Member
posted
This is a new one on me. Why will a passthru syntax fail the first time you use it and work the second? Here is the exact code that fails on the first insert, and works on the second, with the 'Internal Daily Balance' record appearing in the database table but not the 'Transaction Errors'. Note the FOC002 error on the first try, and the (FOC1364) notice on the second.

ENGINE SQLORA SET DEFAULT_CONNECTION RCS
SQL SQLORA
INSERT INTO NRCS_REPORT_FILES_INFO
VALUES ( 'Transaction Errors', to_date('05/31/2009','mm/dd/yyyy'), 'RCS_TRERR_20090531', to_date('06/24/2009 11:56:12 ' ,'mm/dd/yyyy hh24:mi:ss') )
;
END
-RUN
0 ERROR AT OR NEAR LINE 135 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC002) A WORD IS NOT RECOGNIZED: ENGINE
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND
-*******************************************************************************
-* for the Internal Daily Balance Report
-*******************************************************************************
-SET &ReportName = 'Internal Daily Balance';
-SET &Filename = RCS_INDLY_20090531;
ENGINE SQLORA SET DEFAULT_CONNECTION RCS
SQL SQLORA
INSERT INTO NRCS_REPORT_FILES_INFO
VALUES ( 'Internal Daily Balance', to_date('05/31/2009','mm/dd/yyyy'), 'RCS_INDLY_20090531', to_date('06/24/2009 11:56:12 ' ,'mm/dd/yyyy hh24:mi:ss') )
;
END
-RUN
(FOC1364) ROWS AFFECTED BY PASSTHRU COMMAND : 1/INSERT

Just for the record, I tried switching the order via cut and paste, with the 'Internal Daily Balance' record being first and the 'Transaction Errors' second. In that case, the transaction errors record was inserted sucessfully.

This client has a WebFOCUS 7.6.4 installation.

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


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Virtuoso
posted Hide Post
What comes just before this in your fex?


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Platinum Member
posted Hide Post
A hold file generator, that I forgot to put and "END" at the end of.

I stared at that code for three hours and did not see that. Then I worked on something else since I posted it, and your comment made it stand out like a sore thumb

Thanks


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Virtuoso
posted Hide Post
The runner-up is missing semicolons.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 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] (FOC002) A WORD IS NOT RECOGNIZED: ENGINE

Copyright © 1996-2020 Information Builders