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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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