Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Concurrent Processing
Go
New
Search
Notify
Tools
Reply
  
Concurrent Processing
 Login/Join
 
Gold member
posted
I have a WebFOCUS program which uses numerous fexes to build a report. Each fex is somewhat time consuming and I am wondering if there is a way to set it up where the numerous fexes would run concurrently rather than in order.

Thanks for any advice.
 
Posts: 90 | Registered: April 15, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
If you have an HTML launch form, and this form
calls for the execution of the multiple Focexecs
when the SUBMIT button is clicked, or the form
autosubmits when it is called, then all of the focexecs are assigned to different WebFocus tasks and run in parallel.

The output could appear in different frames of the Form or whereever.
 
Posts: 226 | Registered: June 08, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
Gerry, whats the exact html syntax for multiple fexes from a single submit button and for specifiying different TARGETs for each one?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
<WFUser>
posted
Susannah,

You don't need multiple targets, just multiple forms in your html. Here is the JavaScript code to submit all of the forms but it gets a little more complicated if you need to pass the parameters from one form to the others. Your form tag then needs to run this JavaScript OnSubmit.

function suball()
{
document.form1.submit();
document.form2.submit();
document.form3.submit();
}
 
Reply With QuoteReport This Post
Expert
posted Hide Post
hmmm. this is very interesting.
so for ex, 2 forms. no submit button per se in each form. Each form could have a the same or separate targets.
just one submit button with javascript.
I wonder if i could have 2 forms, 2 fexes, same target. 1st fex clears the target frame, because it runs faster. the 2nd fex populates the target frame with its results.
What do you think, WFuser?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
<WFUser>
posted
Sure, why not?
 
Reply With QuoteReport This Post
Gold member
posted Hide Post
Took me a day or so, but I got it to work..Thanks WFUser for the syntax.
 
Posts: 90 | Registered: April 15, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
Originally posted by Stan:
[qb] I have a WebFOCUS program which uses numerous fexes to build a report. Each fex is somewhat time consuming and I am wondering if there is a way to set it up where the numerous fexes would run concurrently rather than in order.
[/qb]
How do the 'numerous fexes' contribute to the single 'report'? If their results are homogeneous (in the sense that they produce HOLD files with uniform MFDs) and the objective is to use TABLE to format a report against the combined data -- I've done that and can provide some details.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Concurrent Processing

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.