Modify the error checking in the command to this:
IF (@exitcode >= 500) OR (@sqlerrorcode <> 0 and @sqlerrorcode <> 976)
so that the SQL agent job will succeed and ignore the 976 error and report success
IF (@exitcode >= 500) OR (@sqlerrorcode <> 0 and @sqlerrorcode <> 976)
so that the SQL agent job will succeed and ignore the 976 error and report success