Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jan 23, 2009
Messages
35
Location
GB
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
 
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

Back
Top