Focal Point
[SOLVED] Call EDAGET from fex in Repository

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2977042776

July 14, 2015, 05:35 PM
Francis Mariani
[SOLVED] Call EDAGET from fex in Repository
In WF 8.0.08, I get an error when I call EDAGET in a fex that's located in a folder in the Repository.

This fex:
-SET &ECHO = 'ALL';

-*-- Set up the file name ----------------------------------
-SET &FILE_NAME = &YYMD || '_' || EDIT(&TOD,'99$99$99') || '_output01.pdf';

FILEDEF OUTPUT01 DISK baseapp/&FILE_NAME
-RUN

-*-- Create the report -------------------------------------
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
ON TABLE HOLD AS OUTPUT01 FORMAT PDF
END
-RUN

-*-- Display the report ------------------------------------
EX EDAGET PDF,baseapp/&FILE_NAME,B
-RUN

-*EX EDAGET HTML,baseapp/fs03_cf_cad,T

yields this error:
Error
Cannot include resource specified EDAGET

This message has been edited. Last edited by: Francis Mariani,


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
July 14, 2015, 05:55 PM
Francis Mariani
Solved! I needed -MRNOEDIT:

-MRNOEDIT EX EDAGET PDF,baseapp/&FILE_NAME,B



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
July 14, 2015, 06:36 PM
Waz
I had the same issue with EDAPUT in the repository.

The fexes get scanned to EX and -INCLUDE to determine the content to be passed to the WF server.


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!