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     How do I call a FEX from a Managed Reporting Domain from a batch file?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How do I call a FEX from a Managed Reporting Domain from a batch file?
 Login/Join
 
Platinum Member
posted
I'm using the following Perl command to call a FEX in webfocus:

my $rc = system(qq(c:\\ibi\\srv52\\wfs\\bin\\edastart -x "ex $fex" > $wf_log));

This works when my fex is in a folder in the APPPATH path. How do I get to a fex that is in a Managed Reporting Domain folder?

Thanks
Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Virtuoso
posted Hide Post
Jim, I think your SOL on this one. The edastart -x is designed to allow you to execute local test procedures of the reporting server. MRE procedures are not considered local to the reporting server, rather they are local to the web application server.

In perl, correct me if I'm wrong, but I thought you could consume java classes. If that is true, then you could use the WF API, or WF WebServices to do execute both reporting server and mre procedures.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Master
posted Hide Post
Jim, Question is the WebFOCUS Client and the WebFOCUS Reporting Server on the same box?




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
dhagen,
I think you are correct, unfortunately my Perl knowledge is pretty limited so I don't know how to do this. If someone out there has done this, please let me know.

TexasStingray,
They are on different boxes.


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Expert
posted Hide Post
Jim,

As TS intimated, that will make a difference as the MRE fexes reside on the Client under IBI/WBEFOCUSnn/basedir whereas the fexes under the app path reside on the Reporting Server (hence two different sign-ons in Dev Studio to access each one).

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Tony & TS,

Sorry about the confusion, but after reading Tony's post, the client and the reporting server must be on the same box. I can look at our webfocus box and the app path fexes are in ibi/apps folders and the MRE fexes are in the ibi/WebFOCUS52/basedir folders.

By default, we started developing most of our fexes in MRE. I've been trying to decide if we should be developing in the app path folders. We currently are using VMS Focus mostly in a batch mode. We would like to convert all of this to WebFocus so I'm trying to create a batch type environment in WebFocus. If you have any advise in this area, I'm listening.

Thanks for the posts, and again, sorry for the confusion.

Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Virtuoso
posted Hide Post
Jim,

The easiest way would be to run everything through report caster. That way the reports can exist either in MRE or on the server. The results can then be mailed directly to the user requesting the schedule.

In WF52, you can use a routine called DSTRUN to go from html prompt page to load the request into the report caster schedule.

My two cents.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Platinum Member
posted Hide Post
dhagen,

We currently use report caster for most of our scheduling. The biggest problem I have with RC is that I haven't figured out how to save the focus messages that are created when the fex runs. This information is necessary for trouble shooting problems with scheduled jobs. In the old focus environment you could filedef SYSPRINT to a log file and you had it. This doesn't seem to work in WebFocus or at least I can get it to work. If you could solve this for me, I would be very excited.

Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report 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     How do I call a FEX from a Managed Reporting Domain from a batch file?

Copyright © 1996-2020 Information Builders