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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
syntax problems?
 Login/Join
 
Master
posted
Hello!

I'm getting a (FOC261) EXPRESSION IS INCOMPLETE BECAUSE AN OPERATION IS MISSING
at line 57 in my code... Here's an excerpt:

TABLE FILE MATRIX_ORDERS_TBL
-GOTO ADD_DETAILS

-ADD_DETAILS
SUM
EXT_SALES_DOLLARS/P11BM AS 'Sales,This Yr.'
-IF &YEAR_COUNT GE '1' THEN GOTO P1SALES ELSE GOTO BGT_START
-P1SALES P1EXT_SALES_DOLLARS/P11BM AS 'Sales,Prior Yr.'
.....

this is line 57 from above...
EXT_SALES_DOLLARS/P11BM AS 'Sales,This Yr.'

I've tried it with a semicolon on line 58, it gives the same error.

I'm very new to coding with goto's, so I'm not sure where I'm going wrong.

Thanks!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
quote:
-P1SALES P1EXT_SALES_DOLLARS/P11BM AS 'Sales,Prior Yr.'


Why does this line have a dash in front


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
oh, that's my fault.

TABLE FILE MATRIX_ORDERS_TBL
-GOTO ADD_DETAILS

-ADD_DETAILS
SUM
EXT_SALES_DOLLARS/P11BM AS 'Sales,This Yr.'
-IF &YEAR_COUNT GE '1' THEN GOTO P1SALES ELSE GOTO BGT_START
-P1SALES
P1EXT_SALES_DOLLARS/P11BM AS 'Sales,Prior Yr.'


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Master
posted Hide Post
I'm very sorry... it was a semicolon the entire time.

Thank you for your patience!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders