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
February 07, 2008, 05:54 PM
GinnyJakes
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.
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
February 07, 2008, 06:13 PM
susannah
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
February 07, 2008, 06:40 PM
Maria Tan
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
February 07, 2008, 07:02 PM
susannah
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
February 07, 2008, 10:44 PM
Piipster
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.