eval { $db->execProc( $p_job_finished, {DieOnError => 1}, $job->{jobid}, $job->{jobsts}, (exists($job->{jobnative}) ? $job->{jobnative} : undef), (exists($job->{joberr}) ? substr($job->{joberr}, 0, DB_MAX_CHRS_NOT_LONG) : undef), (defined($job->{jobinterr}) ? substr($job->{jobinterr}, 0, DB_MAX_CHRS_NOT_LONG) : undef), $repost, $clientref, substr(Dumper($results), 0, DB_MAX_CHRS_NOT_LONG)); 1; };