rp_asynchserver::startjob

Starts a job asynchronously

o.startjob( tcJobID)

Return Value

True or False

Parameters

tcJobID
The job id number of the job to start

Remarks

This method is used to begin a job in the Job Server table. This is an asynchronous
method call and hence control is returned to the user before the Job is complete. The
user can monitor the progress of the job using the methods ,

o.getcprogress()
o.getnprogress()
o.gettimeremaining()

It is important to note that this process will terminate if the paramter to which
this object is assigned is released. Hence make sure it stays in scope.

It is reccommended that you use a separate instance of the job server to monitor
progress of the job as it will speed the time it takes to return the information
about jobs the progress.

Example

o.StartJob('DFFGF444')

This would;
1.	Start a process running which will run job 'DFFGF444'
2.	Return control to the user


See also:

Class rp_asynchserver


Last Updated: 23/11/2005