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 reusable procedure that I want to call from a master procedure. The master procedure has a TABLE FILE command. I want to call the reusable procedure for each record in the table in the master procedure and pass values in the current record as parameters to the reusable procedure. Is that possible?This message has been edited. Last edited by: <Kathryn Henning>,
Once you hold your file from the master procedure you can establish a loop to read each value or set of values into parameters, do whatever you are going to do with them and return to repeat the loop until you get through all of the held records.
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003
Thank you both for your answers. I was hoping that I would be able to do it directly inside a TABLE FILE or DEFINE FILE, via calling a function or something like that. It sounds like that's not possible.
It can be done without resorting to a dialog manager loop. Something like this:
FILEDEF DRIVER DISK driver.fex
DEFINF FILE HOLD
CMD/A1000 = . . . ;
END
TABLE FILE HOLD
PRINT CMD
ON TABLE SAVE AS DRIVER
END
-RUN
-INCLUDE driver.fex
CMD would contain the EX command, to call the fex and pass the arguments. It would be defined be a catenation of 'EX fexname ' 'parmname=' character representation of value ',' . . .
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005