I have an SQL Server Agent Job that consists of 5 steps. The first step checks
to see if a file exists on disk. If it does, then it performs some manipulation
and continues with the next step. However, if the file does not exist, the
next step is still invoked and fails because it needs the file. How can I
exit a step with an error? ie. If file does not exist, then quit entire job.