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     [CLOSED] -Include &Report_Name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 45 | Registered: October 07, 2015Report 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 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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: 45 | Registered: October 07, 2015Report This Post
Virtuoso
posted Hide Post
Have you tested to see if it works when it's hardcoded?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [CLOSED] -Include &Report_Name

Copyright © 1996-2020 Information Builders