Script functions reference > Script functions in alphabetical order > N > NewJob

NewJob
Syntax
NewJob();
Description
The NewJob function replaces the JobBegin and JobEnd functions, and is used to split large input jobs into smaller jobs.
The NewJob function must be called from a Retrieved script. The NewJob function starts a new job at the beginning of the Event. Any previous Events are then treated as a separate job and sent to the pre-process phase.
Note:
Returns
N/A
Example
if(num($count)>500)
{
NewJob();
}
$count++;
OpenText StreamServe 5.6 Updated: 2013-03-01