Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Use data in .foc table to control flow in .fex (Dialogue Mgr)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Use data in .foc table to control flow in .fex (Dialogue Mgr)
 Login/Join
 
Member
posted
I am relatively new to WF (since 01/06) and I have data in a .foc table (2 fields) which I need to use to control the flow of a .fex procedure via Dialogue Mgr. I've tried to figure out how to read the .foc and put the field into an &field which can be used in the procedure with no success. Any help or any different technique to do this would be helpful As a side note - We dont have Maintain nor is it in the budget.

This message has been edited. Last edited by: Todd Behrens,
 
Posts: 8 | Registered: November 02, 2006Report This Post
Expert
posted Hide Post
Todd,

Since we have no idea what your procedure actually needs, here is a basic way:

TABLE FILE CAR
PRINT CAR SEATS MODEL
BY COUNTRY
ON TABLE HOLD AS DATA1 FORMAT ALPHA
END
-RUN
-SET &XLINES = &LINES;
-SET &CNTR = 1;
-LOOP_1
-READ DATA1 NOCLOSE &COUNTRY.A20.,&CAR.A10., &SEATS.A5., &MODEL.A20.
-IF &IORETURN NE 0 GOTO EOJ;

Now do your stuff; at the end of stuff:

-SET &CNTR = &CNTR + 1;
-IF &CNTR GT &XLINES GOTO EOJ;
-GOTO LOOP_1
-EOJ

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Tom,

Thank you very much! It may seem simple and I had the right idea but didnt try the different output types. Changing the format was the key...I was stuck in a rut creating .foc hold tables. Thanks again.....I just signed up for this forum......its going to be a great learning tool.

Todd


WF v7.6.8
Windows
Excel/PDF/HTML
 
Posts: 8 | Registered: November 02, 2006Report This Post
Expert
posted Hide Post
Todd,

You are absolutely right, some very, very good Analyst/Programmers with excellent insights.

Welcome to the WebFOCUS World...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Use data in .foc table to control flow in .fex (Dialogue Mgr)

Copyright © 1996-2020 Information Builders