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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMS - Can it accept a failure code ?

Status
Not open for further replies.

beansontoast

Technical User
Jun 17, 2008
1
AU
Hi Dudes,

I have a question regarding SMS and failure codes, and basically I would like to know if there is a way of allowing certain failure codes when an advertisement has finished running a package.

Currently, I have a package which runs, does everything it needs to do, but SMS detects a failure code of 2. This then prevents the next package from running.

The program which returns the failure code of two, is a command-based executable, initiated via a batch file. Somewhere along the line, it does a whole host of deletes, several of which it never finds. This is perfectly acceptable, but unfortunately, leaves a return code of 2.

This is actually the Nonav program (used for removing Symantec Antivirus), which is a fairly complex routine. I have tried setting its exit code back to zero, but it is not straightforward.

A simple solution is for SMS to accept the failure\return code of 2. Trouble is, I can't find out if this is possible.

Any help appreciated.

Thanks



 
This might sound dumb nut try running a bat file that runs the bat file you already have. This way it will show it ran the bat, that runs the other bat file successfully.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top