dw: added process.end_Batch_sp stored proc