spool file for sql job type