Focal Point
[CLOSED] BAT file doesn't execute

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4607046966

March 15, 2014, 10:55 AM
Winfred Gunter
[CLOSED] BAT file doesn't execute
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
March 16, 2014, 10:49 AM
Twanette
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
March 18, 2014, 08:45 AM
CLH
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
March 22, 2014, 08:16 PM
Jim Morrow
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



June 09, 2014, 05:21 PM
Winfred Gunter
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