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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I have a stored procedure that returns a '1' using "SELECT '1'" to signify that it completed successfully. I use this stored proc to update a table in WebFOCUS as follows:
ENGINE SQLMSS SET DEFAULT_CONNECTION BI SQL SQLMSS EX dbo.usp_FSG_ScoreCard_Exception_Group '&METRIC', &SOURCE ,&METRIC_GK, '&REQUESTOR' , &REASON, '&TYPE' , NULL ; END
In addition, I have another stored proc that I call after the "usp_FSG_ScoreCard_Exception_Group" stored proc as follows:
ENGINE SQLMSS SET DEFAULT_CONNECTION BI SQL SQLMSS EXEC dbo.usp_LoadFSG_ScoreCardMissingTimeCard END
My issue is that the second stored proc "usp_LoadFSG_ScoreCardMissingTimeCard" takes around a minute to run since it's updating a huge table. So, since WebFOCUS waits for the second stored proc to complete, a simple update using the first stored proc seems like it takes a minute to run.
How do I make WebFOCUS aware that the first stored proc is complete, start the second stored proc and exit out of my fex without having to wait for the response from the second stored proc?This message has been edited. Last edited by: <Emily McAllister>,
Originally posted by Ricardo Augusto: Can you use 2 fex, each one to each SP.
I will try to create a second fex for the second stored proc? I am new to WebFOCUS, so how would I call the second fex from the first one? Do I just include it using "-INCLUDE"?
Originally posted by BabakNYC: Can you run your fex's in deferred mode?
Alternatively, you could schedule them to run using CMRUN from the OS command line or in a batch executable.
The fex is in a html file. So I am not sure how I would run it in a deferred mode? I need to execute the second procedure only after the first one is done executing.
I will try to create a second fex for the second stored proc? I am new to WebFOCUS, so how would I call the second fex from the first one? Do I just include it using "-INCLUDE"?
Yes. Use like this -INCLUDE IBFS:/WFC/Repository/app_name/full_path/fex2.fex
WebFOCUS 8.1.05 / APP Studio
Posts: 272 | Location: Brazil | Registered: October 31, 2006
Sure, I feel generous today. Add the following to / before your TABLE FILE request
SET XRETRIEVAL = OFF
SET TRACEUSER = CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = SQLAGGR//CLIENT
SET TRACESTAMP = OFF
SET TRACEWRAP = 132
SET EMGSRV = ON
The results of this can be pasted directly into TOAD, or you SQL tool, for analysis (explain plan).
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005