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 a focexec that I would like to incorporate into a Dashboard. The idea is that the user brings up an html page in Dashboard, specifies values for a few parameters, and then clicks on the Submit button and the job gets submitted as a batch run. The user comes by later to get the file of results.
So, I have an html page built in MRE that performs a IBIF_ex run for the process, and all runs well. The page waits, and upon completion I get the text from the run and the output file appears where it's supposed to.
My concern is that some of these runs will take an hour or more, so I'd like to have it submitted to the queue and just give the user a page indicating that the process got started. Sounds easy, but I can't find a parameter setting to submit it batch instead of on-demand. What I have so far:
Thank you for your response. This is not an MRE report. It is a self-serve focexec and needs to remain that way. I need to present it through MRE for security but run it outside of MRE.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
In that case it cannot be done out of the box. you have to figure out and create the enitre process your self. WebFOCUS Deferred reports are for MRE/CUS Reports Only.
How about creating a focexec in MRE that says -MRNOEDIT -INCLUDE 00_complete_cdc_extraction_flow
Then it grabs the code from the server (as long as it's in the server's apppath), but it still appears to be an MRE fex and can be run using the deferred option.
This is also a technique that I have used to allow for drilldown from an MRE procedure to a server procedure. Extra fex required, but it's so simple and solves the whole problem. You are, in essence, converting a server fex to an MRE fex, but you only have to maintain code in one place. The MRE fex is merely a spot reference to the server fex.This message has been edited. Last edited by: Darin Lee,
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Umm, isn't that kind of scary? I know I wouldn't want my users running most of our DM flows at their leisure. On table contains data as of yesterday and other contain current data?
Anyway, glad you found something you could use.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
In order to run flows thru the DataMigrator server (so that output is written to the DataMigrator log and if specified an email is sent on completion and/or failure) instead of executing the flow directly using EX it should be run using EX CMASAP specifying the flow name and other paramaters. The syntax is documented in the DataMigrator Users Guide.
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007
The Dialogue Manager DSTRUN function, inoked as "-SET &SUBERR=DSTRUN(,,,,,,,,,,,,,,,,,)" [yes, it has 17 parametrers] works very well in any *.fex (MRE or SelfServ) to submit for execution any ReportCaster schedule.
DSTRUN is documented with an execution example in "WebFOCUS-7, ReportCaster API Developer's Reference" (DN4500694.0206), Appendix A. ReportCaster API Subroutines, Page A-30.
Just make a simple MRE procedure that uses this function for each dashboard option to submit the appropriate job with any needed parameter values. After the submission, give user feedback with a
TABLE FILE ... END
that queries any available table with
WHERE READLIMIT=1
and contains only a HEADING section to display the desired message (the report body has to exist so include
PRINT <anyfield> NOPRINT
).
The RCaster job you initiate has it's 'Enabled' property unset so it never gets run except by the use of DSTRUN. When run, it sends the report to wherever you want the user to find it.
ChrisThis message has been edited. Last edited by: cburtt,
WIN/2K running WF 7.6.4 Development via DevStudio 7.6.4, MRE, TextEditor. Data is Oracle, MS-SQL.
Posts: 154 | Location: NY | Registered: October 27, 2005