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
error in query.
 Login/Join
 
<KPBHATT>
posted
Hi,
In one of my reports, I have to generate reports for items which satisfy even one of these criterion. But each criteria has two conditions i.e one flag and one text. If both the conditions for a criteria satisfy, only then that item is taken.

My code is something like this:

(( COLR_F EQ 'Y' AND COLR_T IS MISSING) OR
(SIZE_F EQ 'Y' AND SIZE_T IS MISSING) OR
(LGTH_F EQ 'Y' AND LGTH_Q IS MISSING) OR
(WTH_F EQ 'Y' AND WTH_Q IS MISSING) OR
(HT_F EQ 'Y' AND HT_Q IS MISSING) OR
(VAR_OTH_F EQ 'Y' AND VAR_OTH_T IS MISSING));

I am getting an error which says:

ERROR AT OR NEAR LINE 78 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC246) COMPUTATIONAL STATEMENT REFERS TO MORE THAN ONE DATA PATH
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND

Can any one suggest a solution to the same.
 
Report This Post
Guru
posted Hide Post
Try this:

(
((COLR_F EQ 'Y') AND (COLR_T IS MISSING)) OR
((SIZE_F EQ 'Y') AND (SIZE_T IS MISSING)) OR
((LGTH_F EQ 'Y') AND (LGTH_Q IS MISSING)) OR
((WTH_F EQ 'Y') AND (WTH_Q IS MISSING)) OR
((HT_F EQ 'Y') AND (HT_Q IS MISSING)) OR
((VAR_OTH_F EQ 'Y') AND (VAR_OTH_T IS MISSING))
);

By not having the two expressions in brackets it thinks you are giving a list of conditions for one expression and not two distinct expressions.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Guru
posted Hide Post
Also I have found that 'IS MISSING' works best in a DEFINE or WHERE and not very good in a COMPUTE.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Virtuoso
posted Hide Post
I get my two FOCUS forums confused occasionally, I replied instead of post so let's try this again.

Apparently you are using a join structure that is 'horizontal'. Selection
must occur all on one path. Can you change your join structure. If not you
may have to do a two step process where you print the information to a hold
file then do your selection in the hold where the 'missing' value is
assigned the default for it's attributes.

If you do, set all on to get short path. Or if all you want is short path,
then don't set all on and just select the fields 'without' the missing part.
That may work.
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<KPBHATT>
posted
Hi All,

Thanks for the responses . Our team was able to resolve the same with your inputs
 
Report This Post
<KPBHATT>
posted
Hi All,

Thanks for the responses . Our team was able to resolve the same with your inputs
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders