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     [SOLVED] Make a User Defined Function Available for InfoAssist

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Make a User Defined Function Available for InfoAssist
 Login/Join
 
Platinum Member
posted
So I was reading this thread: Text over image in a basic report and thought it would be great if I could make functions like that available for my business users who work with InfoAssist. I've never worked with user defined functions in WF before so I'm not sure what I need to do so that this function is available for use in IA. I appreciate the assistance.

Thanks,
Deb

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


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
Deb

There is a manual called Using Functions that describes how to create your own and publish them for others to use. You can find it on the techsupport site under technical content under the Reporting Languages section


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
Platinum Member
posted Hide Post
Chuck,
it isn't really clear, all it says for running on Windows, "No extra work is required." But I don't understand where to save a function I've written in WebFOCUS so I can use it in a DEFINE field in InfoAssist. Will it really use it if I just save it anywhere?

Thanks,
Deb


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Master
posted Hide Post
I have 20+ DEFINE FUNCTION routines. All of mine are in baseapp on the reporting server. A good number of them are loaded with a -INCLUDE in edasprof, making them always available. For example, I have versions of DATEDIF, DATEMOV and DATEADD that I use in Dialogue Manager. We have to report on Federal and State Fiscal Years so I have a function that will compute the Fiscal Year when supplied a date and year type.

DEFINE FUNCTIONs and User Written subroutines are not the same. DEFINE FUNCTIONs reside in an app folder (like I said all of mine are in baseapp). They are .fex files. User Written subroutines are written in a compilable language like C. For example, RSTAT generates C code that is compiled. Those executables are stored in /opt/ibi/srvxx/wfs/user (where xx is your WebFOCUS release, in our environment it is 80).


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Platinum Member
posted Hide Post
@Jgelona
You don't have to do anything special in the fex file, just make sure to add a -INCLUDE functionname.fex in the edasprof?

Thanks,
Deb


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Master
posted Hide Post
Nope, nothing special. The -INCLUDE for the DEFINE FUNCTION can be in your fex if it is rarely used or in edasprof if used a lot.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 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     [SOLVED] Make a User Defined Function Available for InfoAssist

Copyright © 1996-2020 Information Builders