Focal Point
Bursting Report in ReportCaster using a WHERE clause

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2701014082

April 14, 2008, 09:54 AM
slim007
Bursting Report in ReportCaster using a WHERE clause
I need to know how to schedule a report to run daily and monthly that filters off of inputs that a user puts in. I have two dropdowns that would be the starting and ending values for the where clause. Is it possible to do this?


7.1.4
UNIX
Excel, PDF, HTML
April 14, 2008, 11:16 AM
Darin Lee
ReportCaster is an automated process so there are no user inputs at run time, only at the time the job is scheduled. For users that have scheduling capabilities, when the job is scheduled, you can click on the advanced button in the scheduled job tab and input that parms values that would be used. But for every different set a parm values, a different job would have to exist. (BTW: the "Prompt for parameters" property must be ON for the fex in order for this functionality to be available.)

The only way to set these values from your drop-down boxes would be to use the RC API to allow users to dynamically schedule jobs with their parms from an external app or launch page.


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
April 15, 2008, 08:44 AM
PBrightwell
slim,

What are you trying to accomplish? If your inputs are date ranges they can be calculated in the program. If it is something else, you can pass hardcoded parameters in the report caster set up, but that means needing a separate report caster job for every variable. There are a other options, such as reading in a file. Let us know what you want to pass and what your output is supposed to be.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
April 15, 2008, 09:36 AM
slim007
Those inputs would be coming from the dropdown lists that the user chooses. This would set up the where clause for the range (which are not date values). I want to schedule the fex / report that this selector page posts to. So this is a dynamic parameter list, no hardcoding. Any suggestions?

Thanks.


7.1.4
UNIX
Excel, PDF, HTML
April 15, 2008, 09:47 AM
Prarie
What is the purpose of it running in Report Caster? Is it long running? If it is in MRE you could have them put the Inputs in and run the report deferred.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Unfortunately our customers do not want it run in MRE because of licensing issues. The fex that I am trying to modify already is scheduled to run in ReportCaster. It is bursting off one value. The issue is that we want it to be customizable and burst off a range of values. Is this possible?


7.1.4
UNIX
Excel, PDF, HTML
Darin gave you the answer up above. You will have to drive the DSTRUN api program from a web page.


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
Slim,
The short answer is no. Either you can set up scheduled jobs, one for each range or you can use DSTRUN api. You can't have the range entered from drop down lists and have report caster run the job from a schedule.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes