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.
I've searched the Forum and found a couple of examples where Dialogue Manager was used to control what prints in the heading of the report when a parameter is passed as '_FOC_NULL'. I want to be able to do this using report painter. If I select and orginization I would like the orginization to show in the heading and if I select 'All' I would like the word 'ALL' to show in the heading. I have included the sample code, which I thought would work however I get the following message:
0 ERROR AT OR NEAR LINE 4 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC32535) INVALID _FOC_NULL USAGE (FOC009) INCOMPLETE REQUEST STATEMENT BYPASSING TO END OF COMMAND
Here's the code:
TABLE FILE VIEW_ARSUMMARY PRINT COMPUTE ORG_SELECTION/A7 = IF '&ORG.EVAL' EQ '_FOC_NULL' THEN 'ALL' ELSE VIEW_ARSUMMARY.ARSUMMARY.ORG; NOPRINT BY LOWEST VIEW_ARSUMMARY.ARSUMMARY.ORG BY LOWEST VIEW_ARSUMMARY.ARSUMMARY.DEPARTMENT HEADING "Origanization: " " WHERE ( VIEW_ARSUMMARY.ARSUMMARY.ORG EQ '&ORG.(,,).ORG:.' ); ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ ENDSTYLE END
Interestingly, the error is not triggered in a DEFINE:
-DEFAULT &ORG = '_FOC_NULL';
DEFINE FILE CAR
ORG_SELECTION/A50 = IF '&ORG' EQ '_FOC_NULL' THEN 'ALL' ELSE COUNTRY | CAR ;
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR
HEADING
"<ORG_SELECTION"
END
-RUN
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