I have a batch file that runs an SSIS job. I have no knowledge of how the SSIS job runs, I took over a project involving it.
The batch file uses %ERRORLEVEL% to detect errors that occur within the SSIS job. It must be expanded to report other errors too.
How do I set the ERRORLEVEL in SSIS?