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.
-INCLUDE &FILENAME results in (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: &FILENAME The file to be included can vary depending on other factors and is set as the fex executes. The file name is stored in &FILENAME. When the main FEX executes, it immediately says that it cannot find &FILENAME, then continues to execute. I tried setting &FILENAME to ' ' or to an existing file name, but neither fixed it. Assistance greatly appreciated. Thanks for taking time to read this...This message has been edited. Last edited by: Kerry,
I got the same results as you did, but only by accident. When the fex called with the -INCLUDE &FILENAME, also had a variable called &FILENAME inside it, I got the same error message you got. When I changed the variable to &FILEN, the include worked.
Posts: 391 | Location: California | Registered: April 14, 2003
Thanks for making suggestions. I appreciate your time. Unfortunately my problem persists. -I checked the included fex represented by &FILENAME and it did not use the variable &FILENAME. -We just installed, so we are on a recent version (5.2.6). It says "Managed Reporting Repository" at the top of the screen. -------------------------------------- If I do a simple fex (with or without the 'RUN's): -SET &THISFILE = WINMISC; -RUN -INCLUDE &THISFILE -RUN I get a similar message: (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: &THISFILE Assistance, ideas, and brain-storming gratefully received :-) If all else fails, I may just have to put in a comment not to worry about this since it runs correctly despite the message.
Yes, I have a fully functional "TIMESTAMP" fex which is nothing more then a -TYPE statement. It even works well as "-INCLUDE TIMESTAMP" but not via the variable. What's up with that?
The Bottom Line: I want to execute a variable as "&IncludeThis.EVAL". Where '&IncludeThis" is the results of "-SET &IncludeThis = '-INCLUDE TIMESTAMP' ; ". But, it's not working... Thanks In Advance...
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I'll resort to using -GOTO REPORT&ReportID.EVAL for each report (based on an incoming Report ID) and generate my report between that label and a -GOTO EndOfReport / -EndOfReport label for now, with hopes of getting this to work as I'd like it.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Hey Doug, this is wayne, and what you need is quite often what I find in all these new versions, or flavors of WebFOCUS. It's called an OFR, "Old Feature Request"
Sure there are work arounds and probably 20 ways to do what you're trying to do, but I also find that there are things which simply don't work with 8.0 as we expect!
Please IBI, let's keep it simple for us old guys and if there is something that doesn't work as it used to, can we be handed the alternative rather than hacking away.
(I'm not just talking or complaining, these subtle issues will begin to grow in number, and having the "New Alternative" would simply help all developers and ultimately IBI sell more software as we are the soldiers in the field)
Example: Old School: Filedef New School: Foccache
I'm just saying...
8.01m RedHat Linux HTML/PDF/EXCEL
Posts: 10 | Location: United States | Registered: January 29, 2008
Originally posted by Doug: Yep, everything is in the same MRE Domain / folder...
Hey, Doug.
If you mean both the fexes (that calling CALENDAR_TEST1, and CALENDAR_TEST1 itself) are stored in MR, not in an APP folder on the reporting server, then the FOC227 is entirely appropriate.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
The syntax suggested by Tom works perfectly and (to my knowledge) hasn't "broken".
Just a few reminders :-
If the included fex is within an application folder it should be within the available APP PATH AND included with the -MRNOEDIT syntax. By "available APP PATH" I mean the path specified in the Domain properties (if there is one) or the current APP PATH setting.
If the included fex is within MR then it must exist in one of the folders under the main domain folder (normally [domain]/app) and must be referenced within that folder - e.g. -INCLUDE app/fex_file_name.fex.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
If the included fex is within MR then it must exist in one of the folders under the main domain folder (normally [domain]/app) and must be referenced within that folder - e.g. -INCLUDE app/fex_file_name.fex.
T
And the -INCLUDE must be hard-coded.
Managed Reporting's "client" piece does not execute -SET commands, and does not perform amper-variable substitution in FOCUS commands. (As the current crop of GEICO radio adds might put it, "It can't. It doesn't have the brains.")
And Reporting Server, where those actions will take place, has no access to files stored in MR.
Which is what I alluded to in my previous post
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005