LoadJob(JobFileName As String) As Integer

Application object (production modules)

Loads the job description file specified. If the job description is loaded successfully, the method returns zero (0). Otherwise, a negative number is returned. If a job is currently active and running, you must use the SetNextJobFile method to force a job switch.

Note: If the server is also to be switched, do so before the new job description file is loaded. That is, Application.SetNewDBSQL comes before LoadJob.

StartJob

SetNextJobFile(JobFile As String)