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 using DM to dynamically create a fex but I cannot figure out how to run it afterwards.
Here is a simple example.
-SET &FILEDEF='D:\IBI\APPS\TEST\MYFEX2.FEX (APPEND'; FILEDEF MYFEX2 DISK &FILEDEF -RUN -WRITE MYFEX2 TABLE FILE CAR -WRITE MYFEX2 SUM SALES -WRITE MYFEX2 BY MODEL -WRITE MYFEX2 END -RUN
-*does not work... -INCLUDE MYFEX2.FEX
-*does not work... EX MYFEX2.FEX
This gives me a file called "D:\IBI\APPS\TEST\MYFEX2.FEX" and the contents of it are
TABLE FILE CAR SUM SALES BY MODEL END
The problem is... how can I run this once I created it on the fly like that? The include and ex lines do not work (ERROR: ERROR_MR_NO_OPEN can't open MYFEX2.fex). The reason I need this is that the contents of the file are extremely dynamic. I know I can work around this with tons of amper variables and goto branching, but this would be the easiest way. Anybody know how to run dynamically generated code like that?
Thanks
JodyeThis message has been edited. Last edited by: Kerry,
I can't try it right now, but first of all issue a FILEDEF MYFEX2 CLEAR. Provided the directory test is in the APP PATH it should work with the following:
-mrnoedit EX MYFEX2 (or -INCLUDE MYFEX2)
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004