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.
I am trying to limit down some records in my first table file called "PCP_ESSN_LIST" and then use those records in a WHERE statement to filter the table based on the "ESSN" field. When I use "WHERE ESSN IN FILE 'PCP_ESSN_LIST', I get 0 records back. The format of the ESSNs are A9V. If
TABLE FILE PCP_UTIL_LIST_1-YEAR_LOOKBACK
SUM
ESSN
BY ESSN
WHERE _ADM_STAR.WEBSITE.WEBSITE EQ 'chicaremanagement';
WHERE _ADM_STAR.CLAIM_EMPLOYER.GROUPCD EQ '15044';
WHERE _ADM_STAR.DIMPROVIDERPOC.SPECIALTYTYPE EQ 'PCP';
WHERE ESSN NE '-1'
WHERE TOTAL CNT_E_M_OFFICE_VISITS GE 1
ON TABLE HOLD AS 'PCP_ESSN_LIST'
END
TABLE FILE _ADM_STAR
SUM
_ADM_STAR.MEMBER.ESSN
BY _ADM_STAR.MEMBER.ESSN
WHERE ESSN IN FILE PCP_ESSN_LIST
WHERE _ADM_STAR.WEBSITE.WEBSITE EQ 'chicaremanagement';
WHERE _ADM_STAR.CLAIM_EMPLOYER.GROUPCD EQ '15044';
END
I am expecting to receive about 10,000 records as I would in the first hold file but I get 0 back. If I remove the WEBSITE and GROUPCD filters in my second file, I get a few records but they are all weird looking numbers with 5 leading zeros. I feel like I'm doing something wrong here. Does anyone know what I need to do to fix my code?
Thanks in advance!!This message has been edited. Last edited by: Brandon Andrathy,
1. What's the format of the column ESSN? 2. Change the first request by removing SUM ESSN 3. Add this code right before the hold syntax: ON TABLE SET HOLDLIST PRINTONLY and get rid of the quotes around the hold file name (HOLD AS 'PCP_ESSN_LIST'). 4. Add a -RUN between the two TABLE requests.
5. Test this example and see if it works.
TABLE FILE CAR
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'JAPAN'
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS LIST_OF_VALUES
END
-RUN
TABLE FILE CAR
SUM RETAIL DEALER SALES
BY COUNTRY
BY CAR
BY MODEL
WHERE COUNTRY IN FILE LIST_OF_VALUES
END
This message has been edited. Last edited by: BabakNYC,
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015