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've been at this off and on all afternoon. We're trying to call a windows .bat file from a .fex.
When we run the .fex from developer studio, it just sort of sits there with an open window. Doesn't do anything on either machine. The .bat file runs just great when we run it manually.
We've tried CMD \\SVR99WFRS\G\My.bat RUN
Then we tried -SET &ECHO=ALL; -SET &SYS_CMD = 'G:\My.bat'; -SET &RETCODE = SYSTEM(&SYS_CMD.LENGTH,'&SYS_CMD.EVAL','D4');
Doesn't work either way. We've tried all manner of different things, the two shown above are all I recall though.
This has to be simpler than how we're going at it. Ideas?This message has been edited. Last edited by: Kerry,
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
We use the CMD method to call batch files in couple of our webfocus programs and it works for us. I would check to make sure that you can run the command you are using from your webfocus report server (from a command prompt). If it works from there it should work from within the fex.
Posts: 38 | Location: Milwaukee | Registered: April 28, 2005
I have tried to do this and found that if the bat file is doing something that has no bearing on the other server, all goes fine. But as soon as it tries to do something on the other server, even if it just a dir, I get no output and the process just hangs there forever. The point is that the contents of the bat file is transported to my webfocus server machine and run there. And apparently this does not produce the desired results if it has business to do on the linked server.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007