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     (FOC269) EQUALITY SCREENING TESTS MUST BE PROVIDED IN AN INDEXED VIEW

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(FOC269) EQUALITY SCREENING TESTS MUST BE PROVIDED IN AN INDEXED VIEW
 Login/Join
 
Master
posted
I have coded a table request like this:

TABLE FILE MGAFOCUS.BPCO
HEADING CENTER
"" "
SUM BPCO
BY BPCO NOPRINT
IF BPCO NE ' '
END
-RUN
-EXIT

The MFD looks like this:

FILENAME=MGAFOCUS, SUFFIX=FOC, FDFC=19, FYRT=70
SEGNAME=ROOT, SEGTYPE=S4
FIELDNAME=BLOB, LINEOFBUSS, A3, INDEX=I,$
FIELDNAME=BMCO, MCO, A2, $
FIELDNAME=BSYMBOL, SYMBOL, A3, INDEX=I,$
FIELDNAME=BPOLICY_MOD, POLMOD, A9, INDEX=I,$
FIELDNAME=BEFFDATE, EFFDATE, I6YMD, $
FIELDNAME=BEXPDATE, EXPDATE, I6YMD, $
FIELDNAME=BSTATE, RISKSTATE, A2, $
FIELDNAME=BPCO, PCO, A2, INDEX=I,$



I thought the IF statement would take care of it...
But I keep getting the error msg captioned above...

Thanks,
Confused


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
I fixed it Smiler.

I removed .BPCO from TABLE FILE MGAFOCUS.

Thanks!


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Platinum Member
posted Hide Post
Tomsweb,
The .BPCO option can only be used where you have an indexed field that you want to retrieve specific values of. FOCUS will use the index on the field to locate the matching records instead of using the normal retrieval method.
It gives you much faster access when you are wanting to retrieve specific values.
 
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006Report This Post
Master
posted Hide Post
To expand on what OPALTOSH said, you got the error because you did not use an equality test. NE is not an equality test. One has to use EQ when using an indexed view.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report 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     (FOC269) EQUALITY SCREENING TESTS MUST BE PROVIDED IN AN INDEXED VIEW

Copyright © 1996-2020 Information Builders