Retrieves the travel distance of the current job.
The resulting value is stored in the specified variable.