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     Dynamic parameter in report caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Dynamic parameter in report caster
 Login/Join
 
Gold member
posted
Hi;

I have a fex file running on report caster server. I want this report run through against table. For example, in table A which has two columns(station, station manager's mail), there are 4 row;

station station manager's email
station 1 managerA@abc.com
station 1 managerB@abc.com
station 2 managerC@abc.com
station 3 managerD@abc.com

I want the fex file create 3 reports based on station name and send to 4 different people.

Can i do this?

Thanks

-Maria
----------------------------------------------
Prod: 7.1.1 on Window 2003, Client HP-UX(WebLogic)
Dev: 7.6.4 on Window 2003, Client HP-UX(WebLogic)


====================
Production: WebFOCUS 7.1.1 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLOGIC 8.1 sp4
Dev: WebFOCUS 7.6.4 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLogic 8.1 sp4
 
Posts: 52 | Registered: June 28, 2005Report This Post
Expert
posted Hide Post
First of all, Report Caster only distributes the last report in a fex.

For the distribution, look up bursting and distribution lists in the RC doc manual. You can burst on the high order sort field in the report and assign email addresses to each value in your distribution list.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
Thanks for your response.

I want

1) report 1 for station 1 sent to mangerA and managerB

2) report 2 for staion 2 sent to managerC

3) report 3 for station 3 sent to managerD

These 3 reports is different because the paramter is station.

I am just confusion about your statememt that report caster only distributes the last report in a fex.

Thanks

-Maria

----------------------------------------------
Prod: 7.1.1 on Window 2003, Client HP-UX(WebLogic)
Dev: 7.6.4 on Window 2003, Client HP-UX(WebLogic)


====================
Production: WebFOCUS 7.1.1 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLOGIC 8.1 sp4
Dev: WebFOCUS 7.6.4 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLogic 8.1 sp4
 
Posts: 52 | Registered: June 28, 2005Report This Post
Expert
posted Hide Post
and to add to Ginny's answer,
you can have 2 email addresses in your email list for a single burst value, sort of like CC:.
(You can have many more than 2...)
so your distribution list can look exactly like your example, 4 entries, 2 destinations for station 1, and 1 each for stations 2 and 3.
just make sure that STATION is the first BY Field in your fex, and be sure to check the BURST REPORT box in the Caster task.

If i didn't quite understand your question, you can have caster deliver more than 1 report , if your fex produces, say, 3 reports, caster can deliver a single email with all 3 reports.
BUT to only 1 recipent at a time, not at the same time as it BURSTS.
So, if you want a complex, multi table output, different for each recipient, you need to set up 1 separate job for each recipient.
Easiest way i've found to send a multi-table job to a single recipient is
TABLE FILE...
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
END
TABLE FILE..
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
etc
-HTMLFORM BEGIN
!IBI.FIL.MYTAB1;
!IBI.FIL.MYTAB2;
!IBI.FIL.MYTABn;...etc
-HTMLFORM END

and that should do it for you.

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
Thanks.

But content in report 1,2 and 3 are different because they retrieve the information based on different station code.

It seems i have two issues:
1) Create multiple reports in the same fex file
2) Distribute different reports to corresponded people


Can i do that in report caster.

Thanks


====================
Production: WebFOCUS 7.1.1 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLOGIC 8.1 sp4
Dev: WebFOCUS 7.6.4 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLogic 8.1 sp4
 
Posts: 52 | Registered: June 28, 2005Report This Post
Expert
posted Hide Post
yes,
do it the second way i suggested above.
treat each person as a separate job
you can specify a paramter when running a fex in caster.
run the fex with parameter
-DEFAULT &MYSTATION = 'STATION 1' ;
TABLE FILE ...
IF STATION IS '&MYSTATION'
...
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
END
TABLE FILE ...
IF STATION IS '&MYSTATION'
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
END
-do however many more you need
-RUN
-HTMLFORM BEGIN
!IBI.FIL.MYTAB1;
!IBI.FIL.MYTAB2;
-HTMLFORM END
...then in caster
set up 1 job where on the PARAMTERS TAB
you have set MYTSTATION = STATION 1
and you have only the 2 destinations manager A and manager B
and you do NOT check the BURST OUTPUT box.
..
set up a 2nd job running the same fex where on the PARAMTERS tab you have MYSTATION=STATION 2
etc.
Got it?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Guru
posted Hide Post
quote:
create 3 reports based on station name


Maria. If you are talking about 3 reports that have identical layouts, using the same fields as columns, and the same text in headings and footings (except for the values of the fields you are displaying), then bursting in Report Caster is what you want to do.

For example. If I want to produce a report based on the CAR file and the data for each country must go to a different person I create one TABLE FILE Request. The high level sort referred to in other replies is the first sort field in your request(BY COUNTRY in the example). The following code produces a report that can be split apart (or burst) and the data for each country looks like a different report:
  TABLE FILE CAR
PRINT
     BODYTYPE
     SEATS
BY COUNTRY NOPRINT
BY CAR
BY MODEL

ON COUNTRY SUBHEAD
"<COUNTRY "
ON COUNTRY PAGE-BREAK REPAGE
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END



Now once you have a report working, you create a distribution list for each of the values of the first BY field in your report and Report Caster splits the report into sections (or 'bursts' it).

I hope that helps.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report 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     Dynamic parameter in report caster

Copyright © 1996-2020 Information Builders