399.09 lots of stuff broken. Don't use this
399.10 Found problem with reporting - worth testing. Moved job id functions to report.c