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.
When I execute the code below, I get the following error: COMPUTATIONAL STATEMENT REFERS TO MORE THAN ONE DATA PATH
WHERE ((J001.JDEUS_F1.NELSST IN ('C','A','M','F','Q')) AND (PM_LEASING.LEASE_LI.LESSEE EQ 'Y') AND (PM_LEASING.1502B.RECUR_BILL_START_DATE LE '06012008')) AND ((PM_LEASING.1502B.RECUR_BILL_END_DATE GE '06302008') OR (PM_LEASING.1502B.RECUR_BILL_END_DATE IS MISSING )) AND ((PM_LEASING.1502B.SUSPEND_CODE IS MISSING ) OR (PM_LEASING.1502B.SUSPEND_DATE GE '06302008'));
It works fine if I take the 2 "OR" statements out. I tried messing around with the () but haven't found a solution yet. (User is coding this through report assistant 7.1.7 on xp)
WHERE ((J001.JDEUS_F1.NELSST IN ('C','A','M','F','Q')) AND (PM_LEASING.LEASE_LI.LESSEE EQ 'Y') AND (PM_LEASING.1502B.RECUR_BILL_START_DATE LE '06012008')); WHERE ((PM_LEASING.1502B.RECUR_BILL_END_DATE GE '06302008') OR (PM_LEASING.1502B.RECUR_BILL_END_DATE IS MISSING )) AND ((PM_LEASING.1502B.SUSPEND_CODE IS MISSING ) OR (PM_LEASING.1502B.SUSPEND_DATE GE '06302008')); and got this error: (FOC1400) SQLCODE IS 936 (HEX: 000003A8) : ORA-00936: missing expression : Error context area: ')) AND ( = 1) L (FOC1406) SQL OPEN CURSOR ERROR. : 1502B
Well your original error...is because you had one long WHERE in different data paths. You can only have one. You may try putting these in a DEFINE...to work with the "is missing".
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
I actually ended up splitting the where statement up. I included 2 where conditions and then created a hold file. Then I did the remaining where statements on the hold file. Thanks for all of your input.