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     FML/Hierarchy Report & Bursting?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
FML/Hierarchy Report & Bursting?
 Login/Join
 
Member
posted
Hey guys,

I have a report that I am trying to create (dynamic hierarchy/FML) that needs to be bursted.

TABLE FILE VIEW1
PRINT
BIG_BOSS AS 'Director' OVER
BOSS AS 'Manager'
BY DEPT
FOR BOSS '123456789'
WITH CHILDREN ALL
END

Basically I'm wanting to burst the report on DEPT, and print in each bursted report the BIG_BOSS (the boss of BOSS). However, the BOSS of '123456789' will only be in the topmost department, as he runs the company.

Does anybody have any experience with bursting and FML/hierarchy or have any thoughts on what I'm trying to do?

Thanks very much in advance!

WF Dev Studio 7.6.5 on WF Serv 7.1.6/UNIX


-******************-
WF Production Version: WF 7.1.3, 7.1.6, 7.6
WF Test Version: WF 7.1.3, 7.1.6, 7.6
Platform: UNIX, Windows, SUN
 
Posts: 7 | Registered: June 20, 2008Report This Post
Virtuoso
posted Hide Post
Sounds like your BY needs to go AFTER the FOR and not before it.


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
Member
posted Hide Post
Hey Darin,

Thanks for the suggestion. Putting the BY before the FOR does make it burst. However, it seems that when doing that, the report displays the company wide hierarchy in every single bursted report. I had been hoping that it would show the DEPT specific hierarchy.

From this experiment and some information/direction from Noreen, it's looking like I would have to have a specific FOR parent for each dept to get it to display the way I want.

Ah well. Any other thoughts?

Thanks again for your help Darin! Smiler

Jacob


-******************-
WF Production Version: WF 7.1.3, 7.1.6, 7.6
WF Test Version: WF 7.1.3, 7.1.6, 7.6
Platform: UNIX, Windows, SUN
 
Posts: 7 | Registered: June 20, 2008Report This Post
Master
posted Hide Post
What you will have to do is

Get a list of bosses into a file and then load them into amper variables and call a parameterised version of your program

-REPEAT LOOP UNTIL nomore bosses

EXEC SHOWHIERARCHY STARTBOSS=&READBOSS
-RUN
DOS commandlineemail

-LOOP


SHOWHIERARCHY contains

FOR BOSS '&STARTBOSS'

ON TABLE HOLD FORMAT HTML

Here's where to get your free SMTP sender

http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm

Good luck!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Member
posted Hide Post
I'll go try that. I was thinking maybe coding a compound report using a loop with parameters.

This looks simpler though; I'll try it and respond back.

Thanks! Smiler


-******************-
WF Production Version: WF 7.1.3, 7.1.6, 7.6
WF Test Version: WF 7.1.3, 7.1.6, 7.6
Platform: UNIX, Windows, SUN
 
Posts: 7 | Registered: June 20, 2008Report This Post
Virtuoso
posted Hide Post
If you add WHEN EXISTS to your FOR statement, does it work any better?
FOR BOSS '123456789' WITH CHILDREN ALL WHEN EXISTS

Hopefully, it might only display the hierarchy that exists for each department as appropriate.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     FML/Hierarchy Report & Bursting?

Copyright © 1996-2020 Information Builders