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     [CLOSED] Duplication include references

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Duplication include references
 Login/Join
 
Member
posted
How does Web Focus handle duplicate include references? For instance if I include a procedure that has custom DEFINE functions, then further down in the procedure include another procedure that has a reference to the same custom DEFINE functions, and then make a call to one of the custom function towards the bottom of the main (top level) procedure...how will Web Focus scope this during run time?


Example:

-*start main procedure

-*lets name this "reference A" to my_custom_functions.fex
-INCLUDE IBFS:/WFC/Repository/common/my_custom_functions.fex

-*do some processing

-*include some other procedure
-*(this procedure also includes the my_custom_functions.fex - lets name this "reference B" to my_custom_functions.fex)
-INCLUDE IBFS:/WFC/Repository/other/some_other_procedure.fex

-*do some more processing

-*set a variable using a custom function
-SET &SOME_VAR = MY_CUSTOM_FUNCTION(&SOME_PARAMETER);



Will web focus throw an error during run time, or call reference A, or call reference B?

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 21 | Registered: January 24, 2017Report This Post
Virtuoso
posted Hide Post
Hi WebGuy

You can force WebFOCUS to process by strategically placing -RUN statements in your code.

Hope this helps,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Virtuoso
posted Hide Post
Are you redefining the same field or are you just running a bunch of additional defines?

You could get a pretty clear answer to your question if you add ? DEFINE in the last line of your code.

Look at this part of the doc for more details about define and specifically SET KEEPDEFINES=ON

https://webfocusinfocenter.inf...lang/source/ctf1.htm


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [CLOSED] Duplication include references

Copyright © 1996-2020 Information Builders