×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SMS - Can it accept a failure code ?

SMS - Can it accept a failure code ?

SMS - Can it accept a failure code ?

(OP)
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



 

RE: SMS - Can it accept a failure code ?

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close