Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] -Include &Report_Name
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] -Include &Report_Name
 Login/Join
 
Silver Member
posted
Curious if anyone has attempted something similar to this in v8+.

Francis had offered a method using GOTOs in the following Thread.

This thread -INCLUDE &RPT_NAME mentioned in Francis' post outlines the root of the problem.

quote:
It just does not work, because, according to this ancient posting, -INCLUDE &RPT_NAME, "the MRE Dialogue Manager processing is NOT the FULL D.M., but only provides variable substitution."

So, you could try this instead. It's tedious if you have a lot of programs and the program name must be 12 characters or less.

-SET &ECHO=ALL;

-TYPE HELLO FROM PROGRAM testing_program_1.fex - start of report

-DEFAULT &P_REPORT_FEX = 'test23';

-GOTO &P_REPORT_FEX.EVAL

-testaa
-INCLUDE testaa
-GOTO END_REP

-test23
-INCLUDE test23
-GOTO END_REP

-testpgm2
-INCLUDE testpgm2
-GOTO END_REP

-END_REP
-TYPE HELLO FROM PROGRAM testing_program_1.fex - End of report


If you program names are more than 12 characters, pass a short name as the GOTO label name and put the long name in the INCLUDE statement.

Very tedious, but it works.


But, even with this method using the same folder for the procedures I receive the "Error Cannot Include resource specified" response. Any input is very appreciated.

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


WF Version 8105
 
Posts: 33 | Registered: October 07, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Are these .fex's in the Repository or on an App folder? Have you tried a fully qualified path to them?


WebFOCUS 8204, Unix, Windows
 
Posts: 1439 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Silver Member
posted Hide Post
Should be the repository. Had attempted to concatenate the path with with -include as a variable, but to no avail.


WF Version 8105
 
Posts: 33 | Registered: October 07, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Have you tested to see if it works when it's hardcoded?


WebFOCUS 8204, Unix, Windows
 
Posts: 1439 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] -Include &Report_Name

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.