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] Pass Parameter to Report Caster procedure from oracle table .

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Pass Parameter to Report Caster procedure from oracle table .
 Login/Join
 
Silver Member
posted
Hi,

I want to generate a Flex PDF report for around 5000 users. I have the user id's in a table. Is it possible to schedule the report in Report Caster and pass the parameter to the report from a table column? Since my report is complex Flex pdf, i was not able to use Report Bursting. Is there any way to make the dynamically pass the parameter to a schedule from a table column?

Thanks in advance!!

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


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 36 | Registered: February 03, 2011Report This Post
Guru
posted Hide Post
Hi Saravanan,

Where or to be precise which is invoking or staring you schedule?

Here are the details, how to specify parameters to the schedules, while creating...

http://65.216.39.79/ibi_html/j...m#d04_rcadmin1378768


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Silver Member
posted Hide Post
Thanks for the link Ram

My requirement is to Run a Procedure multiple time for each person id (which can be got from a oracle table). Its much similar to Bursting, but since my report calls a mxml file to create flex charts, i was not able to define the BY field needed for Busrting.

One way i can get this done is by creatig hold file for person table and running a loop inside my Fex Procedure to run the reoprt for each person. Before going on to this approach, i want to know if this is something possible using Report Caster.

Say, if my Person table contains 5000 id's. I want to generate 5000 reports (one for each person).


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 36 | Registered: February 03, 2011Report This Post
Guru
posted Hide Post
Hi Saravanan,

Inside Report Caster It is not possible to access a DB table, get Data and pass on as a paramter to a Schedule, I guess.

Even In case If your ETL or something else is invoking the schedule, the schedule even has to be invoked and ran 5K + times. That is not opt.

But a 5000+ Iterations is defenitely expensive as such.

You can check for change document or with someone at IB regarding this. Whether they have any new feature for implementing this sort, as part of 7.7.X .

Something might be there. Anyone else, comments please...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Platinum Member
posted Hide Post
The WF can capture the connecting user. If this connecting user ID is similar to the IDs that exist in Table, then you can have a WHERE cluase to restrict the data to that particular user.

-Hari


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
 
Posts: 165 | Registered: September 29, 2008Report This Post
Guru
posted Hide Post
Hi Hari,

He is not mentioning about IBIC User...

This is the list of users present in a company who are goin to use the report.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Silver Member
posted Hide Post
Thanks Ram and Hari,
Here is my approach. If you find a better way of doing this, please update me.

1) Get the list of users from DB to a hold file.
2) Run a loop based on the values from hold file and execute the Fex used to generate the PDF report and save each file in a Hold directory.
3) Once all the files are generated i will FTP the files to a Windows Batch server using a separate job.

Thanks much and looking forward for a better way to do this.


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 36 | Registered: February 03, 2011Report This Post
Expert
posted Hide Post
Very interesting. Let us know how it works out for you.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Saravanan,

Good approach. I think this is someway the opt method... But 5K iterations, and generate PDF.

Hopefully the count doesnt exceed 5k... Smiler


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report 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] Pass Parameter to Report Caster procedure from oracle table .

Copyright © 1996-2020 Information Builders