added stored proc for retrieving any jobs in progress on a machine