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     Can Not Get -Include to in Report Caster .fex

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Can Not Get -Include to in Report Caster .fex
 Login/Join
 
Gold member
posted
I can not get the '-INCLUDE TODAY' and 'IMAGE=LOGO.gif' to pull in when I run the following .fex

DEFINE FILE INVOICE
-INCLUDE TODAY
MONTH/M = INVDATE;
YEAR/YY = INVDATE;
CYEAR/YY = 2008;
PYEAR/YY = CYEAR - 1;
CMONTH/M = 12;
CYAMT/D12.2 = IF MONTH LE CMONTH
AND YEAR EQ CYEAR THEN ATOTAL ELSE 0;
PYAMT/D12.2 = IF MONTH LE CMONTH AND INVDATE LE TODAY - 365
AND YEAR EQ PYEAR THEN ATOTAL ELSE 0;

END
TABLE FILE INVOICE
HEADING CENTER
"REVENUE BY CUSTOMER"
SUM CYAMT AS '2008,Y-T-D,REVENUE'
PYAMT AS '2007,Y-T-D,REVENUE'
BY LOGACCT AS 'CODE'
ON TABLE COLUMN-TOTAL
ON TABLE SET STYLE *
TYPE=HEADING, IMAGE=LOGO.gif, POSITION=(7.0000 0.0000), $
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END

'TODAY' and 'LOGO' are in the same folder that the .fex is in. I have tried putting the path in the -INCLUDE statement but it did not help. I also tried adding a '-INCLUDE :logo.gif' at the bottom.

Thanks, Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Gold member
posted Hide Post
My previous post only has the problem when run in Report Caster. Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Expert
posted Hide Post
That folder must be in the App Path on the server - I assume you're trying to schedule a fex on the WebFOCUS server and not in your Dev Studio local environment.

"I also tried adding a '-INCLUDE :logo.gif' at the bottom" - what do you mean? That won't work at all - it's invalid syntax.


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
Gold member
posted Hide Post
The LOGO.gif file is referenced in our style sheet. We need to run it in Report Caster on the server.
The LOGO.gif is in the same folder as the .fex. The syntax for the '-INCLUDE :logo.gif' was in the Report Caster documentation. Please elaborate on what you mean by the App Path; does that mean the apps folder on the server.


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Expert
posted Hide Post
APP PATH is the command in Drive:\ibi\srv76\wfs\etc\edasprof.prf.
Mine looks like this:

APP PATH eqp basel bcp brp ncr fmarian ibisamp baseapp

If you have access, you can browse the file, or even better, access the APP PATH by opening the WebFOCUS Server console
http://your-server-name:8121/cgiatt.exe
and selecting Application Path from the My Console drop-down.

All my App folders are in Drive:\ibi\apps. But there are other app folders there that would not get searched by WebFOCUS because they're not in the APP PATH.

You can also issue the command
? PATH
in any FEX to see the APP PATH.

Hope this helps.


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
Expert
posted Hide Post
You can also say:

-INCLUDE dirname/fexname  


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
Francis,
Thanks for explaining this further. Now everything is working like we want.
Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Expert
posted Hide Post
KentO - how did you solve the problem? It would be good to know.

Thanks,


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Can Not Get -Include to in Report Caster .fex

Copyright © 1996-2020 Information Builders