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 have a foccache table called customer_id that stores 3 values: Customer Type, Customer ID, Customer Name.
I am trying to use the following code to retrieve the "Customer ID" from a procedure that I am using to populate long and latitudes for a specific customer.
-DEFAULTH &COUNTRYV='', &CAR='', &MODEL='', &RETAIL_COST=0
DEFINE FILE CAR
COUNTRYV/A20V = COUNTRY;
END
TABLE FILE CAR
SUM RCOST
BY COUNTRYV
BY CAR
BY MODEL
ON TABLE HOLD AS FOCCACHE/CARHOLD
END
-RUN
-READFILE CARHOLD
-REPEAT :Loop WHILE &IORETURN EQ 0;
-TYPE &COUNTRYV &CAR &MODEL &RETAIL_COST
-READFILE CARHOLD
-:Loop
Because the -READFILE is using the synonym to read the values, the variable aspect is taken care of for you.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thank you Tony. I was able to read the value in my development folder. But when I try it from a procedure in Managed Reporting, it is prompting me for the variable that I am trying to read..
Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro
Thank you all for your input. I was actually able to avoid using a READ command by just doing an inner join with the foccache table and the table needed.
Thank you
Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro