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.
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
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.
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, 2003
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, 2003
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, 2003