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] App Studio INCLUDE footer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] App Studio INCLUDE footer
 Login/Join
 
Member
posted
I have found an issue where App Studio doesn't seem to recognize my FOOTERS fex. I have spent the last year updating all of our reports so that they can be opened in Dev Studio (The were written in NOTEPAD and very frequently use DM commands within Reports, Defines, etc). Now that we're finalizing changes to roll WF 8 into production, our footers include file doesn't work.

This footers.fex looks like this:
quote:
-* Program: footers.fex
-* Author: Scott Haines
-* Date: 8/25/2014
-*Standard Footer for documents:
-SET &FOOT1 = 'Information provided by Taylor University Student Information System';
-SET &FOOT2 = 'Report: ' | &PROGRAM;
-SET &FOOT3 = 'Printed: ' | &DATE || ' , ' || &TOD;
-*Ferpa statement:
-SET &FERPA1 = 'This information is protected by the Family Educational Rights and Privacy Act (FERPA) and ';
-SET &FERPA2 = 'cannot be further disclosed. When no longer required, these documents must be properly destroyed.';
-SET &FERPA3 = 'Failure to comply with these conditions may result in the loss of the privilege of obtaining these records.';


Within the calling document, we use it as a FOOTING or SUBFOOT:
FOOTING
"&FOOT1"
"&FOOT2"
"&FOOT3"

If I open the FEX in text view and add the -INCLUDE and the footing statement as above, the fex will run without error. However, when I just open the fex normally (Within the GUI), I get the error: "Error parsing Master File: ". I've tracked this back to the includes (If I remove the -INCLUDE, the file opens without error).

Has anyone experienced something similar or do you have a "better way" to do this?

Thank you!

This message has been edited. Last edited by: <Kathryn Henning>,


Prod: WF 8.1.0.4 platform Windows,
Dev: WF 8.1.0.4
DB: MSSQL & Oracle
 
Posts: 4 | Location: Upland,IN | Registered: September 17, 2013Report This Post
Expert
posted Hide Post
Take out your comments and flower box to open in the GUI.
FYI, &DATE is old school, try &DATEMDYY or &DATEtrMDYY


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
I'm guessing something : it seems that your -INCLUDE is placed somewhere between the TABLE ... END ?

Having your FOOTERS.fex that only contains -SET commands it can make WF-GUI crash because -SET shouldn't be placed in between TABLE ... END

Try putting it outside TABLE ... END. Mostly at the beginning of your main fex.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Expert
posted Hide Post
I am being facetious, but why do you consider opening the fex "within the GUI" to be the normal method?

As Tom states, the GUI does not like comments peppered throughout the code - they are tolerated at the top of the fex. In the case of an INCLUDE that contains comments at the top - these are probably not tolerated.

Since you're using the GUI - there is no need for you to look at the code, therefore there are no reasons for comments.

And heed Martin's advice.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Tom - Thank you for your help. That did the trick. Our IBI Consultant missed that one too, so I'll pass it along to him.

Martin - Part of this year long project has been to remove all -INCLUDE or other DM commands out of the TABLE...END components.

Francis - Opening "normally" meant the default behavior for AppStudio. When I learned WF 2 years ago, I learned from an old-school coder, so for me, I do 90% of my work in the code, but we're on a organizational push to use the tool rather than write code. It also helps with others in our department that don't know the code, but can hammer our reports in the GUI.

I appreciate all of your quick responses! Smiler

Scott


Prod: WF 8.1.0.4 platform Windows,
Dev: WF 8.1.0.4
DB: MSSQL & Oracle
 
Posts: 4 | Location: Upland,IN | Registered: September 17, 2013Report This Post
Expert
posted Hide Post
If you built it in a text editor, then expect to keep editing in a text editor.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 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] App Studio INCLUDE footer

Copyright © 1996-2020 Information Builders