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     [CLOSED] ReportCaster - Dynamic Parameter values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] ReportCaster - Dynamic Parameter values
 Login/Join
 
Platinum Member
posted
Hi,
I have a requirement such that the procedure in the report caster should run using different adapters for which i have a connection parameter.We have external ESP jobs that invoke the Report Caster schedule to run this procedure.How to pass values to the connection parameters in the procedure during run time in Report Caster.

WF8105M
Windows 10

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
I haven't tried this but I should think you can parameterize the CONNECTION ATTRIBUTES for the adapter.

https://webfocusinfocenter.inf...source/ms_sql295.htm


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Member
posted Hide Post
I had done this years ago. The CONNECTION information can be held in a fex instead of just the default edasprof.prf. You can then assign & variables to anything. This should be done prior to TABLE request obviously. I did this in my case because the password for the adapter had to be looked up and not coded so I had to call an external routine to get password then substitute in CONNECTION string.


8.1 Windows PDF
 
Posts: 2 | Location: Connecticut | Registered: May 08, 2018Report This Post
Platinum Member
posted Hide Post
Hi,
Currently there are connection parameter in the procedures.we are doing a RESTful call to run the ReportCaster Schedule using ESP.They are passing the parameters with the RESTful call but the job fails.Is this because the procedure cannot recognize the parameter from the URL?

WF8105M
windows 10
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
What are the errors in the ReportCaster logs? -SET &ECHO=ALL so you can look at the way & variables are being resolved.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
ERROR :
FOC305 SPECIFIED LABEL NOT FOUND:&CONNECTION_NAME
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
Siva

This error sounds like you have a -GOTO for a label that doesn't exist. Post your code so we can debug this easier.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Unfortunately i cannot post the code.
The report runs successfully when parameters are specified in the URL.

In the external java code to run the schedule they are executing the .sch file.
How can i pass the parameter to the sch file.
can i pass it in the URL itself
will that work?
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
Siva

What URL are you using? Is it a WebFOCUS RestFul Web Service call?

You can set them in the actual schedule itself under the task there is a parameters button that allows you to set them there. But I know that is not dynamic.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
I am getting a error
FOC304 LABEL INCORRECTLY SPECIFIED: -GOTO


webFOCUS 8206
Windows 10
 
Posts: 181 | Registered: October 25, 2017Report This Post
Platinum Member
posted Hide Post
If I Specify the parameters in the ReportCaster Parameters window.It works fine


webFOCUS 8206
Windows 10
 
Posts: 181 | Registered: October 25, 2017Report This Post
Platinum Member
posted Hide Post
The URL we are using is simlar to the one below.

[URL=http://localhost:8080/ibi_apps/rs/ibfs/WFC/Repository/RESTful_Web_Services/ Car_Reports/REST_Schedule.schIBIRS_action=run[/URL]

will it work if i pass the parameters with this url like
[URL=http://localhost:8080/ibi_apps/rs/ibfs/WFC/Repository/RESTful_Web_Services/ Car_Reports/REST_Schedule.schIBIRS_action=run&CONNECTION_NAME=DB5[/URL]
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
Siva

Not sure but it wont hurt to try it.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Hi Chuck,
This didn't work.
Have anybody passed parameters to the schedule through RestFUL web service call.
 
Posts: 181 | Registered: October 25, 2017Report 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     [CLOSED] ReportCaster - Dynamic Parameter values

Copyright © 1996-2020 Information Builders