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.
There are only a few differences between EXEC and -INCLUDE, really only to do with the &vars. An -INCLUDE is part of the host focexec, the EXEC is a seperate entity, but basic environmental things will be carried through. When you say you get a FOC not found error, that means nothing without further information I'm afraid.
You will have to do some debugging to find out what is missing/different.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
HUGE differences between EXEC and -INCLUDE EXEC VAR1=VAL1, VAR2=VAL2, VAR3 = VAL3 is self contained. it doesn't communicate with the surrounding fex at all. So, that means you can have loops inside that EXEC fex and not worry about having them branch to statement labels inside your surrounding fex, your &vars don't escape your EXEC'd fex.
-INCLUDE does become part of the surrounding fex..so if it were to contain loops and goto labels, they had better be unique.
To repeat an operation inside a surrounding fex, use EXEC EXEC MYCAR COUNTRY = 'FRANCE' -RUN EXEC MYCAR COUNTRY = 'SPAIN' -RUN EXEC MYCAR ...you get the idea. But... The EXEC command contains an inherent MRNOEDIT so you canNOT use EXEC in a surrounding fex when that EXEC fex issues a REMOTE call to a REMOTE server. To me, this is a big mess. its a change from 5 to 7, and for me, this killed an entire application in my site...
There's something about the EX command..from 5 to 7, but i can't quite remember. i think its going away. its different from EXEC..
Another way to answer your question is via an http call...
The folder appname does not have to be in the APPPATH, as long as it's in the IBI Apps folder. You could also run a APP MAP command to enable an application folder that's outside the IBI Apps folder.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Originally posted by susannah: The EXEC command contains an inherent MRNOEDIT so you canNOT use EXEC in a surrounding fex when that EXEC fex issues a REMOTE call to a REMOTE server. To me, this is a big mess. its a change from 5 to 7, and for me, this killed an entire application in my site...
There's something about the EX command..from 5 to 7, but i can't quite remember. i think its going away. its different from EXEC..
Another way to answer your question is via an http call...