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     Problem - Html report with 3 different fexs' using 2 different synonyms.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problem - Html report with 3 different fexs' using 2 different synonyms.
 Login/Join
 
Gold member
posted
I am using HTML Layout Painter to display 3 different reports in one html file. Of the three first two reports are using one synonym and the third one is using another synonyms. Synonyms in this case are Sql server stored procedures. I am having problems when I run the report.

1. -DEFAULTS &ICOMPANY = 'HH';
-DEFAULTS &IBUSINESSUNIT = 'IBU';
-DEFAULTS &IMARKETSEGMENTCODE = '003';
-DEFAULTS &ICALENDARFISCALFLAG = 'F';
-DEFAULTS &IYEAR = '2007';
-DEFAULTS &IMONTH = '6';
-DEFAULTS &ISHOWTOTAL = 'TRUE';

-SET @COMPANY = &ICOMPANY;
-SET @BUSINESSUNIT = &IBUSINESSUNIT;
-SET @MARKET_SEGMENT_CODE = &IMARKETSEGMENTCODE;
-SET @CALENDAR_FISCAL_FLAG = &ICALENDARFISCALFLAG;
-SET @YEAR = &IYEAR;
-SET @MONTH = &IMONTH;

-SET &TYEAR_S = EDIT(&IYEAR,'$$99');
-SET &TYEARP1 = EDIT(&IYEAR);
-SET &TYEARP1A = &TYEARP1 + 1;
-SET &TYEARP1B = EDIT(&TYEARP1A,'$$99');

-SET &M1 = IF &ICALENDARFISCALFLAG EQ 'F' THEN 'Apr-' | &TYEAR_S ELSE 'Jan-' | &TYEAR_S;
-SET &M2 = IF &ICALENDARFISCALFLAG EQ 'F' THEN 'May-' | &TYEAR_S ELSE 'Feb-' | &TYEAR_S; -- I am getting "Alpha Arguments in place where numeric are called for" error on this line

2. Third report is not being displayed when I run the html file eventhough I passed the paramters like I did in the first report.I am getting a field not recognized error for a computed field.

Thank you very much in advance.
 
Posts: 59 | Registered: May 01, 2007Report This Post
Expert
posted Hide Post
-SET &ECHO=ALL;
-DEFAULTS &ICOMPANY = 'HH';
-DEFAULTS &IBUSINESSUNIT = 'IBU';
-DEFAULTS &IMARKETSEGMENTCODE = '003';
-DEFAULTS &ICALENDARFISCALFLAG = 'F';
-DEFAULTS &IYEAR = '2007';
-DEFAULTS &IMONTH = '6';
-DEFAULTS &ISHOWTOTAL = 'TRUE';

-SET @COMPANY = &ICOMPANY;
-SET @BUSINESSUNIT = &IBUSINESSUNIT;
-SET @MARKET_SEGMENT_CODE = &IMARKETSEGMENTCODE;
-SET @CALENDAR_FISCAL_FLAG = &ICALENDARFISCALFLAG;
-SET @YEAR = &IYEAR;
-SET @MONTH = &IMONTH;

-SET &TYEAR_S = EDIT(&IYEAR,'$$99');
-SET &TYEARP1 = EDIT(&IYEAR);
-SET &TYEARP1A = &TYEARP1 + 1;
-SET &TYEARP1B = EDIT(&TYEARP1A,'$$99');

-SET &M1 = IF &ICALENDARFISCALFLAG EQ 'F' THEN 'Apr-' | &TYEAR_S ELSE 'Jan-' | &TYEAR_S;
-SET &M2 = IF &ICALENDARFISCALFLAG EQ 'F' THEN 'May-' | &TYEAR_S ELSE 'Feb-' | &TYEAR_S;

-TYPE &M1 &M2

-? &

I ran this code and got no errors. Perhaps the error is on another line?

By the way, I suppose you know that -SET @COMPANY actually creates a variable called &@COMPANY.


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
Francis,

Thank you very much. It worked by adding -SET &ECHO=ALL;

KK.
 
Posts: 59 | Registered: May 01, 2007Report This Post
Expert
posted Hide Post
I'm a little surprised by that!

I just tried your code without -SET &ECHO=ALL; and it still worked.


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     Problem - Html report with 3 different fexs' using 2 different synonyms.

Copyright © 1996-2020 Information Builders