Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file termination

Status
Not open for further replies.

slumdogengineer

Mechanical
Jan 23, 2009
35
Hi all

I am running batch files in the GUI. As often happens, something goes wrong, then you get the message "While processing.......an error has occured, should input be suspended?" or something like that. My question is, is there a way of knowing which command caused the failure? Sometimes the error message prior to this does not tell you what command has gone wrong. In the log file the batch commands themselves are not recorded, only the fact that a certain batch file was read in.

Can anyone suggest a way of doing this?
Thanks
Will
 
Replies continue below

Recommended for you

Read the jobname.err file in your working directory. This should contain all warnings and errors for a batch run.
 
The problem is that the error and warning messages don't always tell you specifically which command is causing the problem, sometimes they just give vague descriptions of, for example, a boolean operation that can't be run since an area is meshed. I can eventually work out where the problem is, after a bit of detective work, but I wondered if there was a quicker way?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor