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] Syntax error at or near WHERE clause

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Syntax error at or near WHERE clause
 Login/Join
 
Platinum Member
posted
Hi Folks,

Can anyone spot the syntax error here? WF is saying that I have a syntax error at or near line 42. Line 42 is the second WHERE clause.

Sigh...

TABLE FILE FS_OCCS_PERSONS_UCRS
BY FS_OCCS_PERSONS_UCRS.FACT_PERSON.PERSON_SOURCE_KEY
BY FS_OCCS_PERSONS_UCRS.DIM_UCR.CATEGORY
WHERE DB_INFILE(PEEPS_W_VIO, PERSON_SOURCE_KEY, PERSON_SOURCE_KEY);
WHERE FS_OCCS_PERSONS_UCRS.DIM_UCR.CATEGORY NE &CATEGORY;
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,
$
ENDSTYLE
END

Let me know if you want to see the whole procedure. The whole thing is only 53 lines.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8201, SP 0.1, Windows 7, HTML
 
Posts: 190 | Registered: May 19, 2017Report This Post
Virtuoso
posted Hide Post
Probably because &CATAGORY. How is that being passed? Might need to be in quotes.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Nevermind... &CATEGORY was null.


WebFOCUS 8201, SP 0.1, Windows 7, HTML
 
Posts: 190 | Registered: May 19, 2017Report 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] Syntax error at or near WHERE clause

Copyright © 1996-2020 Information Builders