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     [SOLVED] App Studio error: the reference to entity must end with the ; delimiter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] App Studio error: the reference to entity must end with the ; delimiter
 Login/Join
 
Platinum Member
posted
Hello,

I'm converting to using App Studio 8104 and when trying to open up a report I'm getting this error:

Code: 1021 Type: xFDMinit
The reference to entity "groupByColumnName" must end with the ';' delimiter.

When running the report I need to pass in two parameters.


-SET &groupByColumnName= &groupByType;
-SET &groupByTimeName= UPCASE(&groupByTime.LENGTH, &groupByTime, &groupByTime.LENGTH);

thanks

This message has been edited. Last edited by: <Kathryn Henning>,


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
 
Posts: 121 | Registered: November 17, 2005Report This Post
Expert
posted Hide Post
With -SET &ECHO=ALL; what do you get ? or does this error occur before running the fex ?


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hello,

When I try opening the report in App Studio Chart viewer is when I get that error. If I open the report in text view only and run from there I get a different error message.

When I leave the -SET &ECHO=AL; then I receive an error on the following:
-SET &groupByTimeName= UPCASE(&groupByTime.LENGTH, &groupByTime, &groupByTime.LENGTH);

App Studio doesn't know what to do with the UPCASE.

Here is the code for this chart.


-SET &ECHO=ALL;
-SET &groupByColumnName= &groupByType;
-SET &groupByTimeName= UPCASE(&groupByTime.LENGTH, &groupByTime, &groupByTime.LENGTH);

DEFINE FILE FUELRECHOLDTEST
DATE/MDYY=HDATE(FUELRECHOLDTEST.SEG01.date, 'MDYY');
WEEK/MDYY=HDATE(FUELRECHOLDTEST.SEG01.week, 'MDYY');
MONTH/MDYY=HDATE(FUELRECHOLDTEST.SEG01.month, 'MDYY');
YEAR/MDYY=HDATE(FUELRECHOLDTEST.SEG01.year, 'MDYY');
END

-*IA_GRAPH_BEGIN
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

GRAPH FILE FUELRECHOLDTEST
-* Created by Info Assist for Graph
SUM gallons AS 'Gallons'
BY &groupByColumnName
ACROSS &groupByTimeName
WHERE date GE DT(&beginDate);
WHERE date LE DT(&endDate);
WHERE seniorDirector EQ &seniorDirector.(OR(FIND seniorDirector IN FUELRECHOLDTEST)).seniorDirector.;
WHERE departmentDesc EQ &departmentDesc.(OR(FIND departmentDesc IN FUELRECHOLDTEST)).departmentDesc.;
WHERE teamNumber EQ &teamNumber.(OR(FIND teamNumber IN FUELRECHOLDTEST)).teamNumber.;
WHERE fleetId EQ &fleetId.(OR(FIND fleetId IN FUELRECHOLDTEST)).fleetId.;
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-*IA_GRAPH_FINISH


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
 
Posts: 121 | Registered: November 17, 2005Report This Post
Expert
posted Hide Post
Change the format at the end of the UPCASE to 'A&groupByTime.LENGTH'


In 8.1.04 there are simplified functions.

Can you change the UPCASE to UPPER(string)


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hello,

Thank you Waz. Looks like changing to Upper(string) is going to work.

I'm going to keep this open until I get all my reports switched over.

Thanks again,
Kelly


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
 
Posts: 121 | Registered: November 17, 2005Report This Post
Virtuoso
posted Hide Post
If you want to use UPCASE in Dialog Manager, you should use EVAL when an &variable is between quotes:
  
-SET &GBTLEN=&groupByTime.LENGTH;
-SET &groupByTimeName= UPCASE(&GBTLEN, &groupByTime, '&GBTLEN.EVAL');


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Expert
posted Hide Post
Hey Danny,

.LENGTH works like .EVAL, its worked within the quotes.


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hello,

This has been resolved. I replaced UPCASE with UPPER(string) and the fex file now works.

Thanks for all the help.


Prod: WebFOCUS 8.2.0.4
OS: Windows
Outputs: HTML, PDF, Excel, PPT
In Focus since 2005
 
Posts: 121 | Registered: November 17, 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     [SOLVED] App Studio error: the reference to entity must end with the ; delimiter

Copyright © 1996-2020 Information Builders