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     agent crashed - multiple drilldowns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
agent crashed - multiple drilldowns
 Login/Join
 
Master
posted
Hello all.
I've searched focal point for agent crash info, and none of the threads relate to my code.

I'm trying to do multiple drill downs, with a single drill down it works fine. Here's my code below.

also, Where can I look on my reporting server for more descriptive information?

-IF &REP_GRP_LOCALE EQ 'IGGY' THEN GOTO DS_BKT ELSE GOTO OTHER_BKT ;
-DS_BKT
TYPE=DATA,
DRILLMENUITEM='Show by Division and Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACLSTR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Store and Division',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_STRFACL' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Division',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACL' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_STR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',$
-OTHER_BKT


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
a couple of observations -
I don't ever use .EVAL on the parameters I pass, and I noticed that sometimes you do and other times you don't. Any rationale for that?
Also, is TARGET one of the parameters that is being passed or a property of the drilldown? I don't recalll using this as part of the drill syntax, but that doesn't mean it isn't valid.
One other thing - does this work if you only put a couple drill items instead of all of them?


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
May be due to the Target name in quotes, it shouldn't be.
quote:
frame

Identifies the target frame in the Web page in which the output from the drill-down link (either a FOCEXEC or URL) is displayed.


If the name of the target frame contains embedded spaces, the name will be correctly interpreted without enclosing the name in quotation marks. For example:


TYPE=DATA, COLUMN=N1,FOCEXEC=MYREPORT, TARGET=MY FRAME, $The name of the target frame is correctly interpreted to be MY FRAME.


You can also use the following standard HTML frame names: _BLANK, _SELF, _PARENT, _TOP.


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
Master
posted Hide Post
Here's an update...
after trying what you suggested, here's what I ended up with.

This works just fine
-IF &REP_GRP_LOCALE EQ 'IGGY' THEN GOTO DS_BKT ELSE GOTO OTHER_BKT ;
-DS_BKT
TYPE=DATA,
DRILLMENUITEM='Show by Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_STR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Division',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACL' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
$


This crashes the agent....
-IF &REP_GRP_LOCALE EQ 'IGGY' THEN GOTO DS_BKT ELSE GOTO OTHER_BKT ;
-DS_BKT
TYPE=DATA,
DRILLMENUITEM='Show by Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_STR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Division',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACL' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
DRILLMENUITEM='Show by Division and Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACLSTR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
$
-OTHER_BKT



Any ideas? This part was all that was added...
DRILLMENUITEM='Show by Division and Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH.EVAL \
END_MONTH =&END_MONTH.EVAL \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACLSTR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB.EVAL' \
RETURN_EFFECT ='&RETURN_EFFECT.EVAL' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.EVAL' \
YEAR_COUNT ='&YEAR_COUNT.EVAL' \
MTD_PRORATE ='&MTD_PRORATE.EVAL' \
USE_VIEWER ='&USE_VIEWER.EVAL' \
),TARGET='_self',
$


and I tried putting that drill down instead of the "show by division" drill down, and it worked. It almost seems like it has a maximum of two, but I know that's not the case in report painter.

Thanks again for your help!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Expert
posted Hide Post
You haven't removed the .EVAL's - not required and you haven't removed the quotes around the target name - not proper syntax.


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
Master
posted Hide Post
Oh, you're right.
Here,
This works.
-IF &REP_GRP_LOCALE EQ 'IGGY' THEN GOTO DS_BKT ELSE GOTO OTHER_BKT ;
-DS_BKT
TYPE=DATA,
DRILLMENUITEM='Show by Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =YEARMONTH \
END_MONTH =YEARMONTH \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_STR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB' \
RETURN_EFFECT ='&RETURN_EFFECT' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET.' \
YEAR_COUNT ='&YEAR_COUNT' \
MTD_PRORATE ='&MTD_PRORATE' \
USE_VIEWER ='&USE_VIEWER' \
),TARGET=_self,
DRILLMENUITEM='Show by Division',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH \
END_MONTH =&END_MONTH \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACL' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB' \
RETURN_EFFECT ='&RETURN_EFFECT' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET' \
YEAR_COUNT ='&YEAR_COUNT' \
MTD_PRORATE ='&MTD_PRORATE' \
USE_VIEWER ='&USE_VIEWER' \
),TARGET=_self,
$
-OTHER_BKT



this doesn't...

DRILLMENUITEM='Show by Division and Store',
FOCEXEC=app/wcqrgj18.fex( \
BEGIN_MONTH =&BEGIN_MONTH \
END_MONTH =&END_MONTH \
REP_GRP_CHRONO ='BYMONTH' \
REP_GRP_LOCALE ='BY_FACLSTR' \
REP_GRP_ATTRIB ='&REP_GRP_ATTRIB' \
RETURN_EFFECT ='&RETURN_EFFECT' \
REP_SHOW_BUDGET ='&REP_SHOW_BUDGET' \
YEAR_COUNT ='&YEAR_COUNT' \
MTD_PRORATE ='&MTD_PRORATE' \
USE_VIEWER ='&USE_VIEWER' \
),TARGET=_self,
$


Thanks for your patience, and sorry from posting the old stuff without removing the ' and the .eval like you have suggested.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Jason,
I see that in the statements
quote:

BEGIN_MONTH =&BEGIN_MONTH \
END_MONTH =&END_MONTH \

you have no quotes around &BEGIN_MONTH and &END_MONTH. WebFocus then sees their values as fieldnames or field positions. Is that the case? If it isn't put some quotes around the variables.


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
Master
posted Hide Post
just enclosed them in single quotes.
Same problem when I have more than two drilldowns.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Jason

I have tried to replicate your problem with no success. I have tried to break it with illegal syntax in the stylesheet, EVALs, missing values, missing quotes etc. Nothing seems to phase it my end. There has to be something else in play here.

Just try it yourself, put this stylesheet agianst the car file, as you have it here, and there are no issues.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Master
posted Hide Post
I've opened a case with IBI about this issue.
They've had us upload a save diag for them because it's so off the wall.

I'm kinda glad that it wasn't something really simple that I was missing. Thanks for your help!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report 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     agent crashed - multiple drilldowns

Copyright © 1996-2020 Information Builders