Job object
This method saves the current job description to a file.
FileName must contain a full and existing path and file name with an extension (normally .job).
Note that the events assigned to the job description are also saved (with the same file name but with the extension .evm). If the file already exists, it is overwritten.
The return value is 0 if the job description was saved to the file. Otherwise the return value is non-zero, for example if the FileName is missing or if the path is not valid.