Taking the samples/jobs.py as it is and running it in the IBM Z Explore USS produces
/z/zXXXXX/py > python3 zoautil-examples-jobs.py
Traceback (most recent call last):
File "/z/zXXXXX/py/zoautil-examples-jobs.py", line 67, in <module>
run_sample()
File "/z/zXXXXX/py/zoautil-examples-jobs.py", line 36, in run_sample
job_sample = jobs.submit(dsn_with_mem_sample_jcl)
File "/usr/lpp/IBM/zoautil/lib/zoautil_py/jobs.py", line 55, in submit
raise ZOAUException(response.stderr_response)
zoautil_py.exceptions.ZOAUException
This might be a quirk of the IBM Z Xplore system setup, which is, obviously, out of my reach, but in any case I think it might be a good idea to wrap the call to jobs.submit() within a try...except block and print out what exactly went wrong.