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     [SOLVED] how we can pass a parameter from the caster schedule to a report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] how we can pass a parameter from the caster schedule to a report?
 Login/Join
 
Silver Member
posted
how we can pass a parameter from the caster schedule to a report?

For example, if we have a query in a report that is using partner_id=109 in the WHERE clause
and we want to make this report generic and pass in the partner_id when it is casted
How can we do that?

A working example would be helpful

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Platinum Member
posted Hide Post
Hi Mubbashir,

How you want to pass the parameter.
1. Using HTML Composer page.
2. Direct procedure.


Thanks!
@vi

WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
 
Posts: 103 | Registered: July 08, 2013Report This Post
Silver Member
posted Hide Post
quote:
Originally posted by Avinash:
Hi Mubbashir,

How you want to pass the parameter.
1. Using HTML Composer page.
2. Direct procedure.


Thank you Avinash for your reply
The parameter will be through procedure.
i want to pass it from ReportCaster Schedule.


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Expert
posted Hide Post
in 7, its pretty straightforward.
Open schedule
Open Tasks panel
click on the task
click on Edit
click on Advanced...
you'll see the Parameters tab
knock yourself out.




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
Silver Member
posted Hide Post
quote:
Originally posted by susannah:
in 7, its pretty straightforward.
Open schedule
Open Tasks panel
click on the task
click on Edit
click on Advanced...
you'll see the Parameters tab
knock yourself out.

Thanks susannah for your reply
we are using 8.0.08


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Guru
posted Hide Post
quote:
we are using 8.0.08

Can't you find the parameters tab, as susannah suggested, in 8?


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
quote:
Originally posted by Rifaz:

Can't you find the parameters tab, as susannah suggested, in 8?

Rifaz Thanks for your reply
There is the parameter tab, but how can i pass the parameters to report?
I meant to say how can i include them in WHERE Clause??
I can put the static value there but
It don't prompt for value, which i want it to be set as dynamically.

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


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Guru
posted Hide Post
Schedule a fex, goto parameters tab and click Values & choose your values.
TABLE FILE CAR
SUM SALES SEATS
BY COUNTRY
BY CAR
WHERE COUNTRY EQ &COUNTRY.(OR(FIND COUNTRY IN CAR)).Country.
END


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
quote:
Originally posted by Rifaz:
Schedule a fex, goto parameters tab and click Values & choose your values.
TABLE FILE CAR
SUM SALES SEATS
BY COUNTRY
BY CAR
WHERE COUNTRY EQ &COUNTRY.(OR(FIND COUNTRY IN CAR)).Country.
END


Rifaz Thank You
What should be the format of multiple values?
Either it should be comma separated or any other format?


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Guru
posted Hide Post
It appends OR based on your WHERE. I'm afraid, i understood your query. You can have multiple conditions if you want to add parameters.


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
quote:
Originally posted by Rifaz:
It appends OR based on your WHERE. I'm afraid, i understood your query. You can have multiple conditions if you want to add parameters.


Rifaz i tried the way you told me
it works
but actually what i want to say is
it there any way around where the report can prompt for value and i can enter a dynamic value instead of specifying it in parameter tab?


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Guru
posted Hide Post
quote:
is there any way around where the report can prompt for value and i can enter a dynamic value

You meant, after scheduling?

Report Caster works in the way, when Reporting server runs procedure, it retrieves the data, creates the report & returns to the Distribution Server which distributes the report.


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
quote:

You meant, after scheduling?


Yes That's what i want to ask
is there any way?


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Guru
posted Hide Post
I don't know, but i can think of having disconnected dashboards in place.(Active Reports)


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
Thanks Rifaz
I will try that


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report This Post
Silver Member
posted Hide Post
SOLVED


WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
 
Posts: 33 | Registered: September 05, 2014Report 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     [SOLVED] how we can pass a parameter from the caster schedule to a report?

Copyright © 1996-2020 Information Builders