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.
PC_BIG_KEY is a concatenation of SOLD_NBR VENDOR_NM PROD_CLS I need to be able to get all records for one BIGKEY value for up to 24 months.
My code looks like this: -READ BKEYIN &BIGKEY.A20. -* TABLE FILE PCRSUM1.PC_BIG_KEY PRINT GRS_SLS . etc. BY PC_YYM BY PC_SOLD_NBR BY PC_VENDOR_NM BY PC_PROD_CLS WHERE PC_BIG_KEY EQ '&BIGKEY' (Assigned above in -READ) WHERE PC_YYM LE CY_YYM OR PC_YYM GE PY_YYMJ (defined above; not shown) ON TABLE HOLD AS HISTDATA END -*
Posts: 38 | Location: Chicago, IL area | Registered: June 16, 2004
Originally posted by susannah: [qb] gerry, i've never seen semicolons at the end of WHERE statements in a fex. Please explain. thanks. [/qb]
The semi-colon in FOCUS/WebFOCUS WHERE statements is usually optional (unlike SQL), but is required when you're doing dynamic compute-like expressions within the WHERE, e.g.,
WHERE SUBSTR(15,LAST_NAME,1,2,2,'A2') IS 'MC';
and I've seen cases in multi-line compound WHERE clauses where the semi-colon has been required.
But this does not seem to be related to Sandy's question. Sandy posted a follow-up message on IT Toolbox that this was happening only when there were embedded blanks in the concatenated field. With the blanks gone it worked.
-CB
Posts: 55 | Location: New York | Registered: March 07, 2003