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     [CLOSED] BAT file doesn't execute

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] BAT file doesn't execute
 Login/Join
 
Gold member
posted
Greetings,

I'm needing to call a schedule from a fex and since we have a clustered env. DSTRUN doesn't work.
So, I have a BAT file that calls the java s21_run to run the schedule, which I can call from a fex.

The BAT file is working, when I run it from the server cmd line. If run from a fex, the fex never returns (and the agent just sits there "in use").

I'm thinking it's some permissions issue with running a BAT file from the service account?
The service account (the fex running) can issue a DIR command just fine, on the directory where the BAT lives.

This is all on version 8005m. This all worked fine in version 7.6

Anyone had this issue before?

Thanks,
--wg

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8009m, Clustered vm Windows2008r2 reporting servers;
Web interface: tomcat;
Output: EXCEL, HTML, PDF; dbms: Oracle 10, db2 on mvs, mssql
 
Posts: 81 | Location: Monroe LA | Registered: January 07, 2005Report This Post
Platinum Member
posted Hide Post
Hi Winfred,

If you simplify the BAT file e.g. just have a DIR command in it, does it then run?

Typically when I encounter this issue it is because something in the BAT file is expecting a response to a prompt e.g. a confirmation to overwrite or delete a file.

You may need to turn traces on in your fex to "see" where it is getting stuck.


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Platinum Member
posted Hide Post
Hi,

We have 8.00.7 and we replaced dstrun with Restfull calls. The fexes we are using reside on the reporting server. I did find while testing that the fex would seem to be spinning but if I right clicked in the window and viewed source it would actually show the error. Not sure it yours may be doing something similar.


Webfocus 8.0.7 on Windows
 
Posts: 176 | Location: Ohio | Registered: October 26, 2006Report This Post
Platinum Member
posted Hide Post
If you are allowed to log on to the server. Open a command window and run the batch script. This will tell you a lot very quickly.


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 2005Report This Post
Gold member
posted Hide Post
Jim,

I stated at the top that I can run the batch file from the server cmd line and everything works.... I just can run it from a fex, which is what I need to have one schedule, at the end, run another schedule via the bat file. There should be a easy way to do this!!


WF 8009m, Clustered vm Windows2008r2 reporting servers;
Web interface: tomcat;
Output: EXCEL, HTML, PDF; dbms: Oracle 10, db2 on mvs, mssql
 
Posts: 81 | Location: Monroe LA | Registered: January 07, 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     [CLOSED] BAT file doesn't execute

Copyright © 1996-2020 Information Builders