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] Pass Parameter for a Fex from Report Caster API

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pass Parameter for a Fex from Report Caster API
 Login/Join
 
Silver Member
posted
Hi All,

I am trying to implement scheduling using Report Caster API's.

Finally we are able to use the java files provided inside the Report Caster directory. I have created a schedule successfully.

When I try to execute the schedule using S21_Run.java file it is getting executed. When I check the log it is failing with the following error message.

Task error: A VALUE IS MISSING FOR: &Days_in_Report

It is because the Fex code accepts a parameter in order to get executed. The problem is I dont know how to mention the parameter. Do I need to mention when creating the schedule using S02_Add_Email.java or when executing the schedule using S21_Run.java

Kindly help me in this.

Thanks,
Santhosh

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


WebFOCUS 8.0.03
Unix
HTML, Excel and PDF
 
Posts: 35 | Location: Los Angeles | Registered: April 25, 2014Report This Post
Expert
posted Hide Post
You should be able to set parameters when you create the schedule.

Have you checked the documentation ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Hi Waz,

Yes I checked the documentation. It tells me how to pass the parameters to run the schedule like below:

Usage: java S21_Run

But I need to pass a parameter which is required to run the FEX. I went through the ReportCaster Legacy API Developer's Reference but I couldnt find it.

Could you please help me.

Thanks,
Santhosh


WebFOCUS 8.0.03
Unix
HTML, Excel and PDF
 
Posts: 35 | Location: Los Angeles | Registered: April 25, 2014Report This Post
Silver Member
posted Hide Post
Hi Waz,

Even when creating the schedule these are the parameters it accepts:

Usage: java S02_Add_Email

And inside the code I see we need to pass the below parameters:

InlineMessage
InlineTaskIndex --Which I am not sure what it is
Mail From
Reply Address
Server Name
Subject

So I am not sure where to pass the parameter for FEX.

Thanks,
Santhosh


WebFOCUS 8.0.03
Unix
HTML, Excel and PDF
 
Posts: 35 | Location: Los Angeles | Registered: April 25, 2014Report This Post
Expert
posted Hide Post
My terminologies may be a bit off, but where you specify the fex, there should be an option to pass parameters.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Were you ever able to do this. I need to do the same thing.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report 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] Pass Parameter for a Fex from Report Caster API

Copyright © 1996-2020 Information Builders