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.
This works fine in 5.3.3. I recently upgraded to 7.6.11 and it appears not to recognize amper variables.
TABLE FILE EMPLOYEE PRINT ORG_CD WHERE JOB_CD IN ('A0068' 'A0519' 'A0671') OR EMPLOYEE_NBR IN (55511 14888 43779) WHERE EMPLOYEE_NBR EQ &EMP_NBR (this is line 20) WHERE EMPLOYEE_CAT_CD_2 IN ('0' '3') WHERE NOT EMPLOYEE_NBR IN (318621) ON TABLE SAVE AS ADMINORG END -RUN
0 ERROR AT OR NEAR LINE 20 IN PROCEDURE xxxx_idsFOCEXEC * (FOC260) AN OPERATION IS MISSING AN ARGUMENT (FOC009) INCOMPLETE REQUEST STATEMENT BYPASSING TO END OF COMMAND
ThanksThis message has been edited. Last edited by: Kerry,
I always code as the manual states: need comma's to separate values AND semi-colons for WHERE statements:
WHERE ((JOB_CD IN ('A0068','A0519','A0671'))
OR (EMPLOYEE_NBR IN (55511,14888,43779));
WHERE EMPLOYEE_NBR EQ &EMP_NBR;
WHERE EMPLOYEE_CAT_CD_2 IN ('0','3');
WHERE NOT EMPLOYEE_NBR IN (318621);
If the &EMP_NBR EQ 12345, then why the need for the OR Test above it???This message has been edited. Last edited by: Tom Flynn,
An & Variable will work fine with a SQL query's WHERE clause, where in it will not work with TABLE FILE's WHERE Clause. This is known prevailing issue.
Still, try out options like '', EDIT() and few others.
Thanks,
Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
First, we have not had any issue with 7.6.11 recognizing & variables in a WHERE clause. It has problems with some functions on the left hand side of the operator (EQ, LT, LE, etc.) but not on the right hand side.
As to your WHERE clauses, they seriously conflict with each other. Multiple WHERE clauses are ANDed together. The way this is coded, you'll get data only when &EMP_NBR is 55511, 14888 or 43779.
As for your error, don't trust the LINE 20 part of the error. There are many times where the wrong line number is given, particularly if you are missing a ';' on a prior line.
I'd change the WHERE clause to this:
WHERE (JOB_CD IN ('A0068','A0519','A0671') OR EMPLOYEE_NBR IN (55511,14888,43779))
AND EMPLOYEE_CAT_CD_2 IN ('0','3');
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, 2006
My DBA confirmed that this is caused by an internal server issue. The emp_nbr is not being passed, which causes the error in the fex. I will, however, update the code.