Add a second process to the run control that picks up the status of the first. If it fails, then delete the output file from the second sqr. I am not sure how you would do this. Perhaps you could write a parameter file to the disk that the second sqr reads to find out what to delete.