When I execute a package via stored procedure (sp_start_job ExecPackage) , because the SQL Agent executes asynchronously there is no way for me to know when the package has finished executing or if it failed or succeeded.
I know that you can create events for packages and have print statements but I am not sure how you might return status information of the executing SQL package via a running SQL Agent job. Any thoughts or ideas on that?
Thanks, -ja