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.
I have created a master from the REST adapter for the RUN service. Somehow, when I am using the master I am getting error. I know that these masters are standard. I am wondering if someone can put the master and acx for the RUN web service. I will greatly appreciate.This message has been edited. Last edited by: FP Mod Chuck,
I am running the sign on call first and then calling the run. Looks like it is executing the schedule. However, I am not sure if I am doing it right. Also, I am not finding luck trying to pass parameters to schedule form the fex.
Signon call ------------
TABLE FILERS_SIGNON PRINT RETURNCODE RETURNDESC IF IBIRS_USERNAME EQ 'uid' IF IBIRS_PASSWORD EQ 'pwd' ON TABLE HOLD END -RUN
Run call -------- TABLE FILE RS_RUN PRINT RETURNCODE RETURNDESC IBIRS_PATH IF IBIRS_PATH EQ 'IBFS:/WFC/Repository/RSD/schedules/schedule1.sch' ON TABLE HOLD END -RUN
As the JSESSIONID Cookie needs to be passed from the response of signOn to the request of RS_RUN, that must be run within the same Server agaent. To do that, they must be run within the same FEX.
Posts: 229 | Location: New York | Registered: July 27, 2004
Originally posted by Efrem: What's the error you are receiving?
Are you running the SignOn and RS_RUN separately?
Efrem, Thank you for your response. I am executing sign on and call to schedule in the same fex. Master files used for both the requests are listed above. Can you suggest if the masters are good? In addition, if you could, please let me know how to pass custom parameters to schedule.
It works like any other Parameterized WebFOCUS Report.
You already have the following in your fex:
quote:
IF IBIRS_PATH EQ 'IBFS:/WFC/Repository/RSD/schedules/schedule1.sch'
For example, change it to: IF IBIRS_PATH EQ '&SCHEDULE_PATH'
And then, when you run the fex and get prompted for &SCHEDULE_PATH, enter the path to the schedule you want. eg. IBFS:/WFC/Repository/RSD/schedules/schedule1.sch
Efrem
Posts: 229 | Location: New York | Registered: July 27, 2004
Thank you for the update. However, the parameters I am trying to pass are consumed in the fex inside the schedule task (schedule1.sch). How do I send ex, &COUNTRY, to the schedule1.sch?
Web Services is just another way of calling existing WebFOCUS/ReportCaster functionality.
I checked the ReportCaster frontend and I don't see a way to run a Schedule passing it parameter values. So, therefore, the run Web Service call would not do it either.
You would need to do the same thing as if you were doing this in the ReportCaster frontend. That is Modify the existing schedule.
You might want to open a New Feature request in order to have this functionality added to the ReportCaster product.
Then, the Web Service call would be modified accordingly.
Efrem
Posts: 229 | Location: New York | Registered: July 27, 2004